【问题标题】:Why is my configuration manager disabled in Visual Studio 2010?为什么我的配置管理器在 Visual Studio 2010 中被禁用?
【发布时间】:2010-06-19 03:58:07
【问题描述】:

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

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

【问题讨论】:

  • 项目文件(.csproj、.fsproj、.vbproj、...)是否定义了调试/发布配置?

标签: .net visual-studio visual-studio-2010


【解决方案1】:

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

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

【讨论】:

  • 确实如此。完全可发现性失败。三年前我在博客上写过 :-)
  • 我以前也曾走过这条路,但我仍然必须用谷歌搜索才能弄清楚。非常令人沮丧。谢谢。
  • 非常感谢凯特隐藏的宝石
  • 在全新的 Windows 10 Pro 安装和全新的 Visual Studio 2010 安装中,我刚刚尝试过,但没有成功。我实际上是自己找到了这个解决方案,但很惊讶它不起作用。然后我在这里搜索并找到了您的解决方案。如果我弄清楚了,我会发布回复。
  • 这是我上面问题的解决方案:如果您使用的是 VS 的 Express 版本,请打开专家设置(工具->设置->专家设置)。那么这里的解决方案就起作用了。
【解决方案2】:

正确的解决方案是:

  1. 工具、选项
  2. 点击项目和解决方案下的常规部分。
  3. 选中显示高级构建配置。

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

【讨论】:

  • 我不会争论,但这与接受的答案有什么不同?
【解决方案3】:

来自a Google search

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.

【讨论】:

  • 配置管理器对该项目完全禁用。我什至在顶部菜单栏中添加了“配置管理器”——>它显示为灰色。 ???
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2019-08-19
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2010-11-30
  • 1970-01-01
相关资源
最近更新 更多