Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where are the settings for multiple startup projects on a solution stored?

I've got a Visual Studio solution containing a couple of console app projects, and used the solution property pages to launch both of them when debugging. For some reason, this setting isn't saved in source control so when I check out the solution on a different computer it has to be set up over again.

Where is this info stored and how can I add it to version control?

like image 677
Luke Avatar asked Mar 05 '10 06:03

Luke


2 Answers

I believe it is in the Visual Studio User Solution User Options file *.suo. This file is hidden by default. Most source control providers ignore this file by default because it stores location specific paths.

like image 198
Dustin Laine Avatar answered Nov 08 '22 20:11

Dustin Laine


You can install the SwitchStartupProject extension. This will create a file called YourSolution.startup.suo containing the startup projects, which you can check into source control.

See also their wiki for configuration instructions and other info.

like image 23
dan-gph Avatar answered Nov 08 '22 20:11

dan-gph