问题描述
在Web.config中设置<compilation debug="true/false">
似乎可以完成一些操作,您也可以在Visual Studio的项目"属性的生成"选项卡中进行设置.他们以某种方式连接吗?编译时其中之一优先吗?
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?
推荐答案
它们未连接.编译标记仅适用于ASP.NET,而项目选项之一适用于Windows窗体,控制台,WPF等.
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编译是如此特殊,因此您必须进一步研究它的每一部分,
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
这篇关于< compilation debug ="true">之间的区别在于:和.csproj文件设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!