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.

特别需要注意的是第一点和第二点:

调试就是Debug的版本,生成就是Release的版本

1.调试菜单中的开始调试命令,会自动创建一个Debug版本的程序,并且将调试版本的程序输出到默认的Debug路径(不管你在项目属性中设置的输出路径是什么)

可以在bin\Debug\目录下找到生成的Debug版本的程序

2.生成菜单上的生成命令,会使用项目属性中的配置来生成程序,并且输出路径是项目属性中指定的

已启动全部重新生成: 项目: WindowsFormsApplication2, 配置: Release Any CPU

不管你在项目属性中设置的是什么,提示都是Release Any CPU

即便你使用的是Debug的属性配置,并且目标平台是x86

最新文章

  1. Java输入输出常用类Scanner
  2. Python学习笔记 之 函数
  3. android studio提示unable to run mksdcard sdk
  4. Sublime Text3自动保存的功能(失去焦点自动保存)
  5. ubuntu sudo
  6. 未能解析目标框架“.NETFramework,Version=v4.0”的 mscorlib 错误的解决办法
  7. 基于visual Studio2013解决C语言竞赛题之1090测量重量
  8. 安装MySQL容易出现的问题
  9. 2017-06-23(chmod whoami chown)
  10. 【前端单元测试入门02】react的单元测试之Enzyme
  11. JS报表打印分页CSS
  12. POJ2318【判断点在直线哪一侧+二分查找区间】
  13. MySQL5.7开多实例指导
  14. 使用特性将数据库返回的datatable转换成对象列表
  15. Django | 页面数据的缓存与使用
  16. 第三方jar上传到Maven私服(Nexus)
  17. 混合线性模型(linear mixed models)
  18. bzoj4698
  19. python3解析网页经过base64编码后的图片
  20. spring 下载

热门文章

  1. c++学习笔记1(c++简介)
  2. SQL查询:『索引失效问题』
  3. sql执行超时处理
  4. jquery与后台相互传递中文参数乱码
  5. 《APUE》第四章笔记(2)
  6. jQuery.hhLRSlider 左右滚动图片插件
  7. width() innerwidth() outerwidth() css('width')
  8. jquery验证手机号码、邮箱格式是否正确示例代码
  9. ECshop网点程序优化-自动生成类目页Keywords、Desciption Meta
  10. supervisor---------------------------------常用