Visual Studio 2019 stopped opening .cs / .xaml files that were open before?

bhs67

Well-known member
Joined
Oct 11, 2021
Messages
50
Programming Experience
10+
When opening a Project / Solution, Visual Studio 2019 also opened the .cs and .xaml files that were open when the Project / Solution was closed. It stopped doing that. Please advise.
 

JohnH

C# Forum Moderator
Staff member
Joined
Apr 23, 2011
Messages
1,265
Location
Norway
Programming Experience
10+
"Reopen documents on solution load" in Projects and Solutions is the main setting, but "Load projects faster" in Environment/Preview Features may prevent it.
 

bhs67

Well-known member
Joined
Oct 11, 2021
Messages
50
Programming Experience
10+
Project (menu) => ??? I do not see Project and Solutions. Ditto for File (menu) => Project/Solution => ???
 

Skydiver

Staff member
Joined
Apr 6, 2019
Messages
4,028
Location
Chesapeake, VA
Programming Experience
10+
Tools..Options...
Project and Solutions on the left nav pane.
On the right pane, you'll find "Reopen documents on solution load"
 
Solution
Top Bottom