简体   繁体   English

在Visual Studio 2013中定义条件编译符号

[英]Define Conditional Compilation Symbols in Visual Studio 2013

After reviewing " Visual Studio 2012 - location of Conditional Compilation Symbols settings ", I was unable to find the location of the Conditional Compilation Symbols box in VS 2013 for an ASP.NET web application. 在查看“ Visual Studio 2012 - 条件编译符号设置的位置 ”后,我无法在VS 2013中找到ASP.NET Web应用程序的“条件编译符号”框的位置。

Where can you define symbols based on the selected build configuration for an ASP.NET application? 在哪里可以根据ASP.NET应用程序的选定构建配置定义符号?

For an ASP.NET web application, the location of the Conditional Compilation Constants option is slightly different. 对于ASP.NET Web应用程序,“条件编译常量”选项的位置略有不同。

Project → Project Properties → Compile → Advanced Compile Options → Custom Constants 项目→项目属性→编译→高级编译选项→自定义常量

It is still under the group heading of Compilation Constants . 它仍然属于编译常量的组标题。

“高级编译选项”对话框的屏幕截图

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM