.net 为什么我的配置管理器在 Visual Studio 2010 中被禁用?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3074272/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-03 14:25:38  来源:igfitidea点击:

Why is my configuration manager disabled in Visual Studio 2010?

.netvisual-studiovisual-studio-2010

提问by Matt H.

I just started working on a new project and I can't set the build action to Debug/Release. This is a huge problem!

我刚开始从事一个新项目,但无法将构建操作设置为调试/发布。这是一个巨大的问题!

I have another solution on my system that, when opened, allows me to change the solution configuration. So it must have something to do with this specific solution?

我的系统上有另一个解决方案,打开后,我可以更改解决方案配置。那么它一定与这个特定的解决方案有关吗?

回答by Kate Gregory

(from http://www.gregcons.com/KateBlog/HowDoIMakeADebugBuild.aspx, which includes screenshots)

(来自http://www.gregcons.com/KateBlog/HowDoIMakeADebugBuild.aspx,其中包括截图)

bring up Tools, Options, and go to the General section under Projects and Solutions. Find "Show advanced build configurations" and check it.

调出工具、选项,然后转到项目和解决方案下的常规部分。找到“显示高级构建配置”并检查它。

回答by Beruk Berhane

The right solution is to:

正确的解决方法是:

  1. Tools, Options
  2. Click General section under Projects and Solutions.
  3. Check Show advanced build configurations.
  1. 工具、选项
  2. 单击项目和解决方案下的常规部分。
  3. 选中显示高级构建配置。

You should see the solution configuration drop-down will be enabled

您应该会看到解决方案配置下拉列表将被启用

回答by overslacked

From a Google search

来自Google 搜索

Tools | Customize from the menu.

In the Build section, drag the "Solution  Configuration" item from the list
on the right to the build toolbar.  You might also want to drag the "Platform
Configuration" item as well. The Configuration Manager itself is available
from the drop-down list of either of those controls.  Also check
Tools|Customize|Toolbars to make sure that the Build toolbar is visible.