I have started to use outlining in C# as follows:
Edit > Outlining > Hide Selection
Does the outlining and the state of each hidden area get stored some place and what
happens if so then will all this information get lost if I upgrade Visual Studion or move my code
into another VS2010 project?
In VS2010 and VS2012, outlining is stored in the solution’s
.suofile. Off the top of my head, some things stored in the.suofile:The
.suofile does not store anything that affects building the solution. It can be deleted with no ill effects (other than losing the display information). In general, this file isn’t included in source control. TFS does not add this file automatically. I always make sure *.suo is in my .hgingore file (Mercurial).To answer the specific questions asked: Yes, if you move your code into another solution, this information is lost (i.e. does not automatically move with it). Upgrading Visual Studio also loses this information. It really isn’t anything to worry about, though.