Fix for Visual Studio 2005 not showing filename or line on errors in web pages when compiling?

Posted by spoulson on Stack Overflow See other posts from Stack Overflow or by spoulson
Published on 2010-06-10T15:10:45Z Indexed on 2010/06/10 15:12 UTC
Read the original article Hit count: 199

Filed under:
|

A project I'm on requires Visual Studio 2005. One annoyance is that when a website project in the solution, any compile errors from .aspx or .ascx files show up like:

(0,0): warning CS0168: The variable 'ex' is declared but never used
(0,0): warning CS0162: Unreachable code detected
(0,0): warning CS0168: The variable 'ex' is declared but never used
(0,0): warning CS0168: The variable 'ex' is declared but never used

How can I track these down? Is there an option I'm missing that gives me filename and line numbers?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about visual-studio-2005