simplified build configuration
http://blogs.msdn.com/b/saraford/archive/2005/08/16/452411.aspx
Did you know… That you can hide the solution and advanced build configurations
Under Tools – Options – Projects and Solutions – General, there are options for both Always show solution and Show advanced build configurations.?
Both options will affect the menu structure, changing which items appear or are enabled.?
The Show advanced build configurations includes the Configuration Manager and the Solution Configurations and Solution Platforms combo boxes on the standard toolbar.
Under most conditions, these options will work; however, there are some exceptions.?
- Regardless of setting, the solution will still appear if you open a solution with multiple projects.
- Regardless of setting, Advanced build configurations will appear if you open a project or solution that has mixed platforms or mixed solution and project configurations, like Solution is set to Debug, but Project is set to Release.
Happy Visual Studio’ing!
?
https://msdn.microsoft.com/zh-cn/library/ff452649(v=vs.110).aspx
When you use the simplified build configuration, Visual Studio determines whether to build a debug or release version.?Choosing the simplified build configuration implements the following settings:
-
The?Start Debugging?command on the?Debug?menu (F5) creates a debug version, and puts the build in the debug location regardless of the output path you specify.
-
The?Build?command on the?Build?menu uses the settings from the appropriate Project Designer pages.The?Output path?is on the?Build?page (C#) or?Compile?page (Visual Basic) of the Project Designer.
-
The?Build?menu does not contain the?Configuration Manager?command.
-
The?Configuration?and?Platform?drop-down lists do not appear on Project Designer pages.
-
On the toolbar, the?Solution Configurations?and?Solution Platforms?drop-down lists are not available.
特別需要注意的是第一點和第二點:
調(diào)試就是Debug的版本,生成就是Release的版本
?
1.調(diào)試菜單中的開始調(diào)試命令,會自動創(chuàng)建一個Debug版本的程序,并且將調(diào)試版本的程序輸出到默認的Debug路徑(不管你在項目屬性中設(shè)置的輸出路徑是什么)
可以在bin\Debug\目錄下找到生成的Debug版本的程序
?
2.生成菜單上的生成命令,會使用項目屬性中的配置來生成程序,并且輸出路徑是項目屬性中指定的
已啟動全部重新生成: 項目: WindowsFormsApplication2, 配置: Release Any CPU?
不管你在項目屬性中設(shè)置的是什么,提示都是Release Any CPU?
即便你使用的是Debug的屬性配置,并且目標平臺是x86
?
轉(zhuǎn)載于:https://www.cnblogs.com/chucklu/p/4836221.html
總結(jié)
以上是生活随笔為你收集整理的simplified build configuration的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 安卓APP_ 四大基本组件(1)—— A
- 下一篇: 十大经典算法图解(详细版)