2010是否创建备份文件

2010是否创建备份文件

本文介绍了Visual Studio 2010是否创建备份文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的机器上有一个随机的bsod和Form1.cs突然空,任何方式来恢复代码?谢谢..

Just got a random bsod on my machine and Form1.cs is suddenly empty, any way to restore the code? thanks..

推荐答案

您可以检查 C:\Documents和Settings\UserName\My Documents \Visual Studio 2010 \Backup Files \ (或您的系统上的等效文件)。

You could check C:\Documents and Settings\UserName\My Documents\Visual Studio 2010\Backup Files\ (or the equivalent on your system).

-recover启用,我相信它是默认情况下。如果您要检查该功能是否已启用,请按照以下步骤操作:

Files will be placed there if auto-recover is enabled, which I believe it is by default. If you want to check that feature is enabled, follow the steps here: http://blogs.msdn.com/b/zainnab/archive/2010/06/30/autorecover-vstipenv0019.aspx

另一个顶部提示是在创建之前设置保存所有更改。该设置位于项目和解决方案/构建并运行下的选项中。

Another top tip is to set 'Save all changes' before building. That setting is in Options, under Projects and Solutions / Build and Run.

这篇关于Visual Studio 2010是否创建备份文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 13:10