Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where does VisualStudio store the region states?

Has anyone ever wondered where VisualStudio stores the states of regions in the source code (expanded or collapsed?). As far as I can see they are not stored in the solution, the project or the source file...

like image 232
Boris Avatar asked Oct 20 '25 04:10

Boris


2 Answers

All of those types of settings (region collapse state, solution explorer open/close state, currently open files, etc...) are stored in the .suo file that resides next to your solution file.

If you delete the .suo file, you will lose this state, but not lose anything pertinent to the actual solution/code. Many people exclude this file from source control as it contains user-specific data.

like image 119
adrianbanks Avatar answered Oct 24 '25 02:10

adrianbanks


They are stored in the .suo file.

like image 39
tenfour Avatar answered Oct 24 '25 03:10

tenfour



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!