开发者

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

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 开发者_StackOverflowan option I'm missing that gives me filename and line numbers?


Try double clicking them. Also check to make sure all the columns are displayed in the error window.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜