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

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

The easiest way to fix this is to reset your settings to the General or C# profile.
Tools -> Import / Export Settings
The VB profile will hide this toolbar by default

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

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

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.
Go to menu Tools - Customize… (or right-click on any toolbar and Customize…)
Switch to Commands tab.
Select Build under Categories.
Select Solution Configurations under Commands.
Drag and drop it on the toolbar where you wish this drop down list to appear.
Hope Sure this will helps you.

I too was facing this issue but I've found a solution:
Tools->Import/Export settings -> select the C# setting and General settings.
I am able to see the Debug/Release drop-down.

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.

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

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.

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.

Related

Why am i not seeing the security tab in my Office Solution properties?

I recently published an office solution as a click once application on my one drive. My client downloaded it from there and when he tried to install, it gave him this error.
I want to republish it by making it a full trust application but i cannot find the security tab in project properties.
Thanks in advance.
I had the same issue and the solution was super annoying to figure out. Someone on another website mentioned that the Security tab is only relevant for certain types of ClickOnce applications so I started playing around with various options and figured it out.
In the Application tab, for Application Type, select Windows Forms Application from the drop-down menu (other drop-down options might also work but haven't tried them)
Save everything: In the main menu bar of Visual Studio, click File > Save All.
Close your project Properties window (i.e. the one with the Application tab that we were just modifying)
Open your project Properties window again: in your Solution Explorer, select your project, go to the main menu bar, click Project, click Properties.
Voila! It should be there. :)

Can I remove VB options from the VisualStudio new project dialog?

After two evenings of designing a new WinForms application GUI I have suddenly realized that I am doing it in a VB project I had created instead of a C# project unintentionally.
And this is not the first time such a thing happens to me.
Can I just remove the VB options from the list so prevent them being chosen accidentally?
Just go to
Tools
Import and Export Settings...
Import Selected Environment settings and click Next
Make selection whether to save current settings and click Next
Select C# under the Default Settings folder and click Next
Deselect everything except for the General Settings > New Project Dialog Preferred Language entry and click Finish.
Best Regards

Debug->Exceptions option missing in VS2010

I want my code to break on exceptions and so usually in VS2010 I go to the dialog Debug->Exceptions... to enable this.
But on a new install of VS2010 Professional that option in the Debug menu is completely missing. Has anyone seen this before?
From here:
http://msdn.microsoft.com/en-us/library/d14azbfh.aspx#addexceptionscommand
Do this:
To add the Exceptions command to the Debug menu
On the Tools menu, click Customize.
The Customize dialog box appears.
Click the Commands tab and, in the Menu bar list, click Debug.
Click Add Command.
In Categories in the Add Command dialog box, click Debug.
In Commands, click Exceptions and then click OK.
(Optional) You can click Move Down to adjust the position of the Exceptions command on the Debug menu.
Click Close.
Visual studio can be used with various languages and environments. Therefore, the basic IDE have different settings for each purpose (this is somewhat like Eclipse perspectives). Using a certain language profile does not mean VS cannot be used to develop another language, but some of the IDE's functionality might not be available. To solve this issue, the IDE's profile can be modified as described here.

Customize project context menu of visual studio

I'm using Visual Studio 2010 with some add-ins and extensions. The problem is now that the context menu of the project items in the solution explorer is getting so large that I always have to scroll down for the "Properties" and the "Open in Windows Explorer" which I use most.
This is getting very nasty.
Is there a possibility to group commands into a sub menu or to modify the position of the commands in the context menu?
Yes, it can be edited.
Go to 'Tools' -> 'Customize...' -> and select the 'Command' tab.
Select Context Menu and pick Project and Solution Context Menus | Project
You can always use the keyboard to do the work for you.
The default binding for Properties is Alt+Enter (or sometimes F4 depending on what add-ins you have installed). Select the project in Solution Explorer and hit Alt+Enter to show it's properties. (This works for almost any other object as well, btw).
The default binding for view SolutionExplorer is Ctrl+Alt+L, so you don't have to use your mouse to get there.
There is no default binding for opening a project in Windows Explorer, but you can set one yourself.
The keyboard bindings are set under Tools->Options...->Environment->Keyboard, and the interesting settings in this case are probably View.SolutionExplorer, Project.OpenFolderinWindowsExplorer and View.PropertiesWindow or Project.Properties depending on which propertiy collection you were referring to.

Visual Studio 2005 not building solutions

I have a solution with about 20 projects (that use Devexpress controls) in and when I do a normal solution build (ctrl-shift-B) it says everything is completed sucessfully when in actualy fact it has done nothing. To get it to build i have to right click on the solution and use the batch build option.
I've tried deleting the solution and regetting from TFS and i've even gone as far as reinstalling VS!
Anyone got any clues as to what is going wrong?
Sorry should have added that also tried to build from the main menus aswell.
I've had similar issues. It's a long shot, but right-click your solution and go to Properties -> Configuration Properties. Check to make sure all of your projects have the "Build" option checked.
Perhaps Ctrl+Shift+B has been assigned to one of the "check-to-see-if-it-is-needed-before-building" type of functions?
Check in the keyboard setting:
Right-click the toolbar
Select Customize in the popup menu
Click the Keyboard button in the lower right corner of the dialog
In the new dialog, in the "Press shortcut keys", a bit to the right and below the center, hit Ctrl+Shift+B
Verify that it is bound to Build.BuildSolution
at least that is what it is bound to for me. I notice there is an action named Build.RebuildSolution as well, you should experiment.

Resources