Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between <compilation debug="true"> and .csproj file settings?

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?

like image 783
ciscoheat Avatar asked Sep 05 '25 16:09

ciscoheat


1 Answers

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

like image 123
Lex Li Avatar answered Sep 07 '25 16:09

Lex Li