Skip to content

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

January 17, 2014

Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio“, courtesy of ‘Sara Ford’

Sara Ford’s Blog

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 Tools–Options–Environment, 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 \Backup Files\.

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.

Happy Programming! =)

Advertisements
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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

%d bloggers like this: