Restore Solution Explorer State in Visual Studio 2019

Restore Solution Explorer State in Visual Studio 2019

You can now Restore solution explorer state in Visual Studio 2019. Restore solution explorer state allows you to start your work precisely from where you left when you close your Visual Studio IDE. Visual Studio 2019 can now restore the solution explorer state and resume the state when Visual Studio is open again.

Restore Solution Explorer State in Visual Studio 2019

To enable this feature, from the main menu, go to Tools  > Options and choose “Projects and Solutions” and select “Restore solution explorer project hierarchy state on solution load” checkbox.

Restore Solution Explorer in VS2019

With this option enabled, Visual Studio will load your solution with collapsed/expanded state of solution explorer.

If you checked the both  “Restore solution explorer project hierarchy state on solution load” option, along with the “Reopen documents on solution load,” you will always find you Visual Studio in the same state where you left including documents and files. Uncheck both of them will load a clean state of Visual Studio.

Restore Solution State and Clean State in Visual Studio 2019

I hope this helps.

Check out more than 100+ Tips and Tricks on Visual Studio 

 

Abhijit Jana

Abhijit runs the Daily .NET Tips. He started this site with a vision to have a single knowledge base of .NET tips and tricks and share post that can quickly help any developers . He is a Former Microsoft ASP.NET MVP, CodeProject MVP, Mentor, Speaker, Author, Technology Evangelist and presently working as a .NET Consultant. He blogs at http://abhijitjana.net , you can follow him @AbhijitJana . He is the author of book Kinect for Windows SDK Programming Guide.