Fix for Visual Studio 2005 not showing filename or line on errors in web pages when compiling?
- by spoulson
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?