8

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?

pnuts
  • 56,678
  • 9
  • 81
  • 133
Luke
  • 18,205
  • 24
  • 84
  • 109

3 Answers3

5

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.

Dustin Laine
  • 36,999
  • 10
  • 84
  • 123
5

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.

dan-gph
  • 15,521
  • 12
  • 59
  • 77
2

According @dan-gpd answer, please use the following updated extension: SwitchStartupProject for VS 2019

Behzad Ebrahimi
  • 954
  • 1
  • 14
  • 28