< compilation debug ="true">之间的区别在于:和.csproj文件设置? [英] Difference between <compilation debug="true"> and .csproj file settings?

查看:43
本文介绍了< compilation debug ="true">之间的区别在于:和.csproj文件设置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在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

这篇关于&lt; compilation debug ="true"&gt;之间的区别在于:和.csproj文件设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆