Helixoft Blog

Peter Macej - lead developer of VSdocman - talks about Visual Studio tips and automation

Showing Configuration Drop-down List on Toolbar in VS 2005

Many people reported that they miss configuration manager drop-down list (Debug/Release) in their VS 2005.

Debug/Release Menu

I observed that this happens mostly when you apply VB settings to your IDE. I experienced the same problem. I don't know why guys at Microsoft think that VB programmers don't need configuration manager.

You can however get your drop-down list back:

  1. UPDATE 24. Apr. 2007: 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.

    Dragging Configurations List

Some users reported that after placing the list on the toolbar it remains disabled. I couldn't reproduced it but they suggested to reset your VS settings:

  1. Go to menu Tools - Import and Export Settings...
  2. Select Reset all settings. Follow the wizard and select Visual Basic Development Settings.

Please remember that this may destroy some of your VS customizations.

Comments

# Peter Macej 2006-02-21 14:48
Before you reset your settings if the list is disabled, try to check "Show advanced build
configurations " in Tools, Options menu, Project and Solutions, General section. Thanks Carlos J. Quintero for this tip.
# Bannhi 2014-08-15 20:54
Thank! This was really helpful!
# Mo Alam 2006-08-04 14:18
I need some help!
I have a vb.net , vs 2005 application, when I build on one machine it produces the required executable in debug mode but when I rebuild the same solution on another pc , it produces an executable which is quarter the size (as in release mode) although the solution is set to DEBUG mode on both PCs.
Both PCs are runing under Windows 2003 server and both have the same version of VB.net
All help appriciated.
Many Thanks
Mo
# Peter Macej 2006-08-07 10:08
I would compare project settings for DEBUG configuration on boths PCs. DEBUG and RELEASE are only names, it doesn't mean they always produce debug or release code. They do by default but maybe you have changed something. See project options - Compile - Advanced compile options. Also compare VS 2005 options: Go to Tools - Options. Check "Show all settings" at the bottom of dialog. Then navigate to Debugging branch.
# Brian LaForce 2006-10-23 16:46
Thanks, I couldn't find the right setting until I came across your tip. I can't believe MS didn't make it a default setting! What a waste of 15mins of my time.
# Kim 2006-11-06 14:54
Thank you so much Peter (and Carlos) for the tip on enabling the Solution Configurations. I was frustrated that it wasn't there by default and even more frustrated that it was disabled after I added it to my toolbar! It took quite a bit of searching to come across this solution...
# Randy 2007-04-12 05:34
holy crap.. i love this page... i thought i messed up installing .net... what's MS thinking for not putting it there by default... crap....
# Bikash Kumar sharma 2007-04-24 16:17
Thanks Peter Macej your suggestion worked
# Phil Gardocki 2007-05-25 16:08
Thanks for the help. Judging from the response, Peter and Carlos's posting "“Show advanced build
configurations” in Tools, Options menu, Project and Solutions, General section." fixed the problem.

My own solution was Solution Properties, Tab Compile, button Advanced Compile Options, Uncheck Enable Optimizations. Which BTW, seems to get checked when the project is zipped, then unzipped in any location other than its original folder structure.

I have not found this solution listed on any other website.
# Chris Wilson 2007-07-17 17:58
Thank you like you can't believe. I have been scouring MS for an answer to this for an hour. I have also been scouring the net. Thank god I stumbled onto this post. And, the dropdown was disabled after I finally got it to appear, thanks to Peter, it is functional too.

Thanks again for your help!!
# santosh 2007-08-23 12:53
it's good
# M.Danesh 2008-07-16 16:45
Can some one please help me on this?
Release option is missing from Configration Solusion Dropdown list. I am using VS2005/VB.NET. I can not get the release option added to Configuration Option dropdown list.
Please help........Thi s is very frustrating.

Regards,
M.Danesh
# SIVA 2009-05-12 08:52
I AM VERY HAPPY PLEASE SEND THE TIPS LIKE THI9S TO MY MAIL
# Usman ur Rehman Ahmed 2009-06-01 18:29
An interesting observation for VS 2008. Right click on the project (class library project), select Properties and move to Debug menu. If you set the Configuration drop down to "Debug" from "Release" (this option will be available only if you have checked "show advanced build configurations from tools>option s), save it, close the property page, and reopen it, the configuration somehow gets back to "reslease" option and the compiled output is sent to "Release" folder. I messed it with for about dozen times.

However, dragging this option to toolbar (as this thread discusses) preserves the setting for debug.
# lorena 2009-08-21 17:01
Thanks a lot !
# Kunal 2009-12-01 07:21
thanks a lot guys, following the steps really solved my problem
# Pedro 2009-12-01 17:22
I can set solution to Release by right-clicking it. The only thing this answer does for me is put that option in an easy-to-see place. I have 2 projects in my solution that appear like this in Configuration Manager:

-Solution (Debug mode)
Project1 (Debug mode)
Project2 (Debug mode)

-Solution (Release mode)
Project1 (Debug mode)
Project2 (Release mode)

There is no option anywhere to set Project1 to Release mode...why? I am using VS 2008 Pro edition.

Thanks
# Peter Macej 2009-12-01 17:42
To Pedro:
The configuration manager drop-down list only allows selecting SOLUTION configuration. You cannot select PROJECT comfiguration directly. Instead, each solution configuration has assigned project configurations. Apparently, your "Release" solution config has assigned Project1 (Debug mode) and Project2 (Release mode). You can create any project configuration name and assign it to any solution configuration. Just select "Configuration manager..." from drop-down list. Select "Release" solution configuration and then change "Debug" for Project1 to "Release" (when you click the project, you can select from list).
# Pedro 2009-12-01 23:35
It appears that the name of the 1st project's config is the same as the Soultions config name.
I've seen that I can create my own build config for project 1 and name it 'Bob', 'Jim', 'Penelope'
or anything I want and do so with setting. Does this mean it will install like a Release?

Thanks Peter
# Moe 2010-01-29 03:01
Following this simple guide helped me in getting back the configuration drop down bar in my VS.
Thanks.
# Deepak 2010-02-08 14:12
Saved my time. Thanks a lot.
# Ankit 2010-02-10 16:16
Thanks
# kiran 2010-02-26 04:02
Excellent fix. I tried to reinstall my Visual studio but this article saved me.

Thanks
# Sima 2010-03-02 08:06
Thank you so much..
Thats a quick help!!
# Sean 2010-03-18 14:50
Thanks
# Linda 2010-05-04 06:22
Thank you so much - I was in a world of confusion before reading this!
# Mani 2010-05-18 04:50
thanks
# Ben Fourie 2010-10-05 20:47
>>Some users reported that after placing the list on the toolbar it remains disabled. I couldn’t reproduced it but >>they suggested to reset your VS settings:


To reproduce, drop the control (solution config) in the build bar rather than the standard bar. Seems like it wants to be en standard, and will be disabled if dropped in the build bar?
That is how it was for me any how. After removing it, it placing it next to the play button, it seemed to work just fine
# raghuram 2011-09-30 07:53
thank you very much
# Jenita 2011-11-14 11:55
Thanks peter.
# Amelia 2011-11-30 13:08
God, I feel like I sholud be takin notes! Great work
# mahesh 2012-02-15 07:53
I found the Solution Configuration in Tools-->Cust omize-->Buil d under Categories--> ;Solution Configurations under Commands
But it has not to Drag and Drop on menubar. what to do?
# mahesh 2012-02-17 09:27
Resole issue. Drag it on Menubar.
Thanks
# mandy 2013-06-04 23:58
thanks. work sweet.

Comments are now closed for this entry

 

Start generating your .NET documentation now!
DOWNLOAD
Free, fully functional trial