and .csproj options? The setting in Web.config seems to d...">

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

The setting <compilation debug="true/false">

in Web.config seems to do what you can also set in Visual Studio in the project properties, Build tab. Are they related in some way? Do any of them have a compilation advantage?


source to share

2 answers

They are not related. The compilation tag is ASP.NET only and the project option is for Windows Forms, Console, WPF, etc.

ASP.NET compilation is so special that you need to dive even more to learn about every part of it.



Set compilation debug = "true" to insert debug symbols into the compiled page. Because this affects performance, set this value to true only at design time.



All Articles