恢复从未保存的Visual Studio项目 [英] Recover a Visual Studio project that was never saved

查看:1189
本文介绍了恢复从未保存的Visual Studio项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天早上,我开始了一个新项目,在投入大约3个小时的工作之后,我试图从另一个项目中打开一个文件,以从中获取一些代码.我收到有关丢弃未保存对象的警告.告诉它继续进行之后,我意识到它指的是我刚才正在从事的项目,而不是我刚刚打开的另一个文件.

I started a new project this morning and, after putting ~3 hours of work into it, I tried to open a file from another project to get some code from it. I got a warning about discarding an unsaved object. After telling it to go ahead, I realized that it was referring to the project I had just been working on and not another file that I had just opened.

即使我从未保存过该项目,但包含我的代码和数据集的各种文件也必须存在于硬盘驱动器上.他们还在吗,也许在临时文件夹中?我在运行Server 2008 R2的盒子上进行开发(不要问,不是我的决定:)).

Even though I never saved the project, the various files containing my code and dataset had to exist on the hard-drive. Are they still there, perhaps in a temp folder? I'm developing on a box running Server 2008 R2 (don't ask, not my decision :) ).

推荐答案

这可能会有所帮助:

This may help: http://blogs.msdn.com/b/saraford/archive/2008/02/14/did-you-know-where-visual-studio-saves-auto-recovered-files-in-the-case-of-an-unexpected-shutdown-151.aspx

还要检查C:\ Users {Username} \ AppData \ Local \ Temporary Projects

Also check C:\Users{Username}\AppData\Local\Temporary Projects

您可以尝试使用那些未删除的程序之一,看看它是否能找到任何东西.

You could try one of those undelete programs and see if it finds anything.

工具>选项>项目和解决方案

Tools > Options > Projects and Solutions

并检查项目

在创建时保存新项目

经常保存. :)

这篇关于恢复从未保存的Visual Studio项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆