2010-06-19 70 views
47

我剛剛開始研究一個新項目,並且無法將生成操作設置爲調試/發佈。這是一個巨大的問題!爲什麼我的配置管理器在Visual Studio 2010中被禁用?

我在我的系統上有另一個解決方案,打開時允許我更改解決方案配置。所以它必須與這個特定的解決方案有關?

+0

請問項目文件(.csproj,.fsproj,.vbproj,...)有調試/發佈配置定義? – Brian 2010-06-19 16:11:23

回答

77

(從http://www.gregcons.com/KateBlog/HowDoIMakeADebugBuild.aspx,包括截圖)

彈出工具,選項,並轉到下項目和解決方案的常規部分。找到「顯示高級構建配置」並檢查它。

+5

確實。總體可發現性失敗。而且我在三年前發佈了博客:-) – 2010-06-19 18:22:41

+1

我之前就已經走過這條路了,我仍然不得不穀歌來找出它。非常令人沮喪。謝謝。 – redcalx 2010-06-19 22:13:55

+0

真棒感謝凱特隱藏GEMS – 2015-10-06 09:54:30

0

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. 
+5

配置管理器只是完全禁用此項目。我甚至將「配置管理器」添加到頂部菜單欄 - >它顯示爲灰色。 ??? – 2010-06-19 04:29:16

2

正確的解決方案是:

  1. 工具,在項目和解決方案選項
  2. 單擊常規部分。
  3. 選中顯示高級構建配置。

你應該會看到解決方案配置下拉列表將被啓用

+6

我不會爭論,但這與接受的答案有什麼不同? – 2014-08-08 21:48:59

相關問題