Skip to content

Tip 2.20: What does Visual Studio do to autorecover files in the case of an unexpected shutdown?

August 15, 2009
Sara Aside

People on the testing team used to tease the tester who owned the AutoRecover feature that every time there was a power failure in the building (because of a storm or other such event), he was standing near some big red switch in the off position with a grin on his face so that everyone in the building could test his features for him.

 

Under ToolsOptionsEnvironment, you’ll find the AutoRecover page.

Note that you can opt out of the AutoRecover feature by unchecking the Save AutoRecover Information Every check box.

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

 

In case you (hopefully) have never seen the AutoRecover dialog box, here’s what it looks like. It’ll pop up the next time you launch Visual Studio after
an unexpected shutdown. You have the options to either use the backup files or ignore them.

 

Pretty neat, huh? How do you spell relief? 🙂

“VS Tips, 251 Ways to Improve Your Productivity in Visual Studio” courtesy of “Sara Ford”

Sara Ford’s Weblog

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: