开发者

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

开发者 https://www.devze.com 2023-01-02 20:12 出处:网络
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:

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

精彩评论

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