visual-studio Visual Studio 2008 - 工具栏缺少“发布”/“调试”下拉构建配置

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2239213/
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-10-22 11:31:49  来源:igfitidea点击:

Visual Studio 2008 - Toolbar missing 'Release' / 'Debug' dropdown build configuration

visual-studiovisual-studio-2008configurationtoolbar

提问by SoftwareGeek

how to enable the dropdown that shows build mode 'release/debug' ? I have set the 'show advanced build configuration' option. I added the 'configuration manager' to the build toolbar but in previous versions we could do this by using the drop-down control.

如何启用显示构建模式“发布/调试”的下拉菜单?我已经设置了“显示高级构建配置”选项。我在构建工具栏中添加了“配置管理器”,但在以前的版本中,我们可以通过使用下拉控件来实现。

TIA

TIA

回答by JaredPar

The easiest way to fix this is to reset your settings to the General or C# profile.

解决此问题的最简单方法是将您的设置重置为 General 或 C# 配置文件。

Tools -> Import / Export Settings

工具 -> 导入/导出设置

The VB profile will hide this toolbar by default

VB 配置文件将默认隐藏此工具栏

回答by Jacob Ewald

Add the Solution Configurations option to the build toolbar, that should give you the dropdown.

将解决方案配置选项添加到构建工具栏,它应该为您提供下拉列表。

回答by JayV

To add the Solution Configuration onto your Toolbar, try the following:

要将解决方案配置添加到您的工具栏,请尝试以下操作:

View|Toolbars|Customize, then select the Commands tab, select the Build category and drag the Solution Configuration and drop it onto your toolbar

查看|工具栏|自定义,然后选择命令选项卡,选择构建类别并将解决方案配置拖放到您的工具栏上

回答by Sharifuddin

  1. Before going to next steps, try the tip from the first response below. This should solve the problem in most cases. If not, continue with the following steps.
  2. Go to menu Tools - Customize… (or right-click on any toolbar and Customize…)
  3. Switch to Commands tab.
  4. Select Build under Categories.
  5. Select Solution Configurations under Commands.
  6. Drag and drop it on the toolbar where you wish this drop down list to appear.
  1. 在进行下一步之前,请尝试下面第一个响应中的提示。在大多数情况下,这应该可以解决问题。如果没有,请继续执行以下步骤。
  2. 转到菜单工具 - 自定义...(或右键单击任何工具栏并自定义...)
  3. 切换到命令选项卡。
  4. 选择类别下的构建。
  5. 在命令下选择解决方案配置。
  6. 将其拖放到工具栏上您希望此下拉列表出现的位置。

Hope Sure this will helps you.

希望这会帮助你。

回答by Nanjundappa

I too was facing this issue but I've found a solution:

我也面临这个问题,但我找到了解决方案:

Tools->Import/Export settings-> select the C# setting and General settings.

Tools->Import/Export settings-> 选择 C# 设置和常规设置。

I am able to see the Debug/Releasedrop-down.

我能够看到Debug/Release下拉菜单。

回答by Prashant Shrivastava

To add the Solution Configuration onto your Toolbar, try the following:

要将解决方案配置添加到您的工具栏,请尝试以下操作:

View|Toolbars|Customize, then select the Commands tab, select the Build category and drag the Solution Configuration and drop it onto your toolbar

查看|工具栏|自定义,然后选择命令选项卡,选择构建类别并将解决方案配置拖放到您的工具栏上

It's in Tools\Options\Projects and Solutions. Select the Show advanced build configurations checkbox and click OK.

它位于工具\选项\项目和解决方案中。选中显示高级构建配置复选框,然后单击确定。

回答by Xonatron

Turn on the Expert Settings (Tools->Settings->Expert Settings) if using VS2010.

如果使用 VS2010,请打开专家设置(工具->设置->专家设置)。

回答by Andrew Jens

I'm currently programming in C++ with VS 2008 and had the problem of not being able to find the Configuration selection drop-down. The solution given by JayV worked for me. Cheers.

我目前正在使用 VS 2008 使用 C++ 进行编程,但遇到了无法找到配置选择下拉菜单的问题。JayV 给出的解决方案对我有用。干杯。

回答by zdux

This can happen when you start a new web site by going to File > New > New Web Site. When what you really want is File > New Project > Then in new window click ASP.Net website.

当您通过转到“文件”>“新建”>“新网站”来启动新网站时,可能会发生这种情况。当您真正想要的是文件 > 新建项目 > 然后在新窗口中单击 ASP.Net 网站。