How do you set Visual Studio to automatically open "the last open solution" when it starts?
6 Answers
In Visual Studio 2019 the option is slightly different. Select:
Tools / Options / Startup / Most recent solution
We seem to be playing who moved my cheese. In Visual Studio 2022 the setting is in a new place. It's located at Tools
/ Options
/ Environment
/ General
I'll add solution for Visual Studio Code: use this flag in shortcut:
"C:\Program Files\Microsoft VS Code\Code.exe" --reuse-window
I would simply create a shortcut to your .Sln file, and run that.
-
-
I misread the question slighty. :S I normally have 3-4 solutions on the go at any one time, so in my case shortcuts are easier rather than loading last one. But alas the question was not about this.– ne1410sAug 29, 2014 at 6:13
-
no worries for the missread +1(i din't gave you -1) because it's still a fine alternative.– radbyxAug 29, 2014 at 6:16
you go into tools-> options -> Environment -> StartUp.
Then there is an option in the "At Start Up" dropdown to load last loaded solution.