Visual Studio 2010 是否创建备份文件?

发布于 2024-09-26 12:31:30 字数 54 浏览 0 评论 0原文

我的机器上刚刚出现随机蓝屏,Form1.cs 突然变成空的,有什么方法可以恢复代码吗?谢谢..

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

演多会厌 2024-10-03 12:31:31

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

如果启用自动恢复,文件将放置在那里,我相信这是默认情况。如果您想检查该功能是否已启用,请按照此处的步骤操作:http://blogs.msdn.com/b/zainnab/archive/2010/06/30/autorecover-vstipenv0019.aspx

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

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

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文