Restore Solution Explorer State in Visual Studio 2019

By | April 14, 2019

Restore Solution State and Clean 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