Visual C#2010 Express在哪里保留其临时文件? [英] Where does Visual C# 2010 Express keep it's temporary files?
问题描述
我在一个应用程序上工作了几天,并经常使用Ctrl + S保存文件.今天早上,我发现我的计算机由于Windows安全更新而被强制重新启动.显然,在创建项目时,Visual C#2010 Express不会为项目创建文件夹.仅在发出全部保存"后才保存项目本身. 备份文件-文件夹包含一个带有项目名称的文件夹,但该文件夹为空.
I worked on an application for a couple of days and saved files frequently with Ctrl+S. This morning I found out that my computer had force-restarted because of Windows security updates. Apparently Visual C# 2010 Express does not create a folder for project when the project is created. The project itself is saved only after "Save All" is issued. Backup Files -folder contains a folder with project name but the folder is empty.
是否可以保存至少一部分项目?
Is there any way to save at least part of the project?
推荐答案
我意识到这是一个老问题,但是我认为以下答案将对寻求该信息的其他人有所帮助.
I realize this is an old question, but I think the following answer will be helpful to other folks looking for this information.
VC Express将临时项目保存在C:\ Documents and Settings * UserName * \ Local Settings \ Application Data \ Temporary Projects.
VC Express saves temporary projects at C:\Documents and Settings*UserName*\Local Settings\Application Data\Temporary Projects.
您可以通过以下方法关闭此行为:工具>选项>选择显示所有设置">项目和解决方案>常规>选择创建时保存新项目"
You can turn off this behavior by checking: Tools > Options > Check "Show all settings" > Projects and Solutions > General > Check "Save new projects when created"
这篇关于Visual C#2010 Express在哪里保留其临时文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!