Difference between and

2019-02-24 11:55发布

Setting <compilation debug="true/false"> in Web.config seems to do things that you can also set in Visual Studio in Project properties, Build tab. Are they connected somehow? Does one of them takes precedence when compiling?

2条回答
ゆ 、 Hurt°
2楼-- · 2019-02-24 12:17

Set compilation debug="true" to insert debugging symbols into the compiled page. Because this affects performance, set this value to true only during development.

查看更多
该账号已被封号
3楼-- · 2019-02-24 12:28

They are not connected. The compilation tag is ASP.NET only, while the project option one is for Windows Forms, console, WPF and so on.

ASP.NET compilation is so special, so you have to dive further to learn about every piece of it,

http://msdn.microsoft.com/en-us/library/ms178466.aspx

查看更多
登录 后发表回答