Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set a default configuration in a Visual Studio Solution File?

In VS2005 and up, is it possible to specify which configuration should be selected by default?

I have several configurations in my solution but one of them should be used in most cases. Hence I'd like to make sure that devs who pull it out of Source Control use the right configuration(unless of course they specifically choose another one).

Ideally, this setting should be in the .sln file since that one is under Source Control.

like image 699
Serge Wautier Avatar asked Oct 24 '08 08:10

Serge Wautier


People also ask

Where is the solution configuration in Visual Studio?

The standard Visual Studio toolbar contains a Start button and a solution configuration drop-down to the right of the Start button. This list allows users to choose the configuration to be started when F5 is pressed, create their own solution configurations, or edit an existing configuration.

How do I add active solution configuration in Visual Studio?

Open the Configuration Manager dialog box. In the Active solution configuration drop-down list, choose Edit. The Edit Solution Configurations dialog box opens. Select the solution configuration name you want to change.


1 Answers

As far as I understand, if there is no .suo file, first platform in alphabetic order becomes the default configuration.

like image 76
abatishchev Avatar answered Oct 16 '22 03:10

abatishchev