Save state of visual studio

Is there a way to keep the VS 2008 β€œstate” (ie open windows, breakpoints, bookmarks, etc.) without closing it? The painful moment that I encountered is that VS 2008 crashes on me quite often (every few days), and when I pick it up, I lost all my β€œstate”. Save All does not do this ... it just saves the contents of the file.

+6
visual-studio-2008 visual-studio
source share
4 answers

Here is what I am doing and it seems to work for me,

  • Open one instance of visual studio.
  • Set all window positions as you would like them.
  • Close the visual studio.
  • Now any instance that you open should follow these settings.

This gets a little messy when you open several windows and change some settings on one of them and other settings on the other. the key is to open one window when you do your personalization and close it as soon as you are done.

+1
source share

If you have a solution, suo or project.csproj. user files running version?

Both of these file types should not be versioned, for example. in Subversion, you must set the svn: ignore property for the * .suo and * .user file types in the directory to which they belong.

I believe that they contain information about the status of the workspace.

+1
source share

I'm not sure how much of this information will be saved, but the Import / Exports Tools options will save a lot of state in the visual studio if you export everything. This is not a quick button click process, although it can be a little heavy for what you are looking for.

0
source share

Tools-> Import / Export will save only the environment settings (font colors, window layout, etc.).

What you should pay attention to: Tools-> Options-> Environment-> AutoRecover

This will not give you a button to click to save your β€œstate”, but it should do everything that you searched automatically.

When the studio crashes, usually the completion wizard should appear on reboot.

If not, the files will be copied to ... \ My Documents \ Visual Studio \ Backup Files \.

0
source share

All Articles