Did you know… Where Visual Studio saves auto-recovered files in the case of an unexpected shutdown? – #151

We used to tease the tester who owned testing this auto-recovery feature that every time there was a power failure in the building (due to a storm, etc), he was standing near some big red switch in the off position with a big grin on his face, because he just wanted everyone to test his features for him in a real-world scenario.  Poor Jeremy, always being blamed for the power failures.

Under Tools – Options – Environment, you’ll find the AutoRecover page

Tools Options Environment AutoRecover

Note that you can opt-out of the AutoRecover feature by unchecking Save AutoRecover information.  I’m very curious if anyone has opted out here, and why.

The rest of the page is self-explanatory, but did you know where VS saves these auto-recovered files?  They are saved in \…\My Documents\Visual Studio <version>\Backup Files\<projectname>.

Backup Files location

In case you (hopefully) have never seen the AutoRecover dialog, here’s what it looks like.  It’ll pop up the next time you launch VS.  You have the options to either use the backup file or ignore it.


Technorati Tags: VS2005Tip,VS2008Tip

Comments (7)
  1. You’ve been kicked (a good thing) – Trackback from DotNetKicks.com

  2. tomsmi says:

    I’ve opted out of autorecover before.  On one of my computers, every 5 minutes the UI would become unresponsive for several seconds because AutoRecover was processing.  It was very annoying.  So I turned it off.

  3. El Ponderado says:

    Yeah, I’ve opted out as well.  Same reason as was mentioned by tomsmi.  Very annoying pauses.  (Large solution)

  4. Bob Monedero says:

    There are a lot of developers at my office that opt out of auto-recovery.  The biggest problem with it that we encounter here is that it can add up to a minute of time during loading the solution before we can start working.  Of course, it doesn’t help that our solution has over 200 projects in it.

  5. Visual Studio has a very bad habit of saving files which are not actually user actionable "Documents" in My Documents.  For most things, such as Templates, they can be moved to AppData.  However, it looks like the autorecover stuff cannot be redirected.  This is bad practice and does not follow the Windows guidelines.

Comments are closed.

Skip to main content