在Visual Studio 2008中将文件另存为对话框问题 [英] Save File As dialog problem in Visual Studio 2008

查看:148
本文介绍了在Visual Studio 2008中将文件另存为对话框问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在通过Visual Studio 2008进行编程.我更改了html页面并使用Ctrl + S进行保存,然后在浏览器中按Ctrl + F5进行测试.我的问题是,刷新浏览器后将文件保存在VS中时,出现文件另存为"对话框,当我想用​​该文件名保存文件时,出现错误对话框,提示文件存在!!我每次在使用Windows 2003和Windows XP的公司中都这样做,但是没有问题.我在家使用Windows 7,但此错误使我丧命.

I am programming via Visual Studio 2008. I change my html page and save it using Ctrl + S and then hit Ctrl+F5 on the browser to test it. My problem is when I save my file in VS after refreshing the browser, "Save File As" dialog appears and when I want to save it with that file name, an error dialog appears which says file exists!!!. I am doing this every time in my company which uses Windows 2003 and Windows XP, but there I have no problem. At home I am using Windows 7, and this error is killing me.

推荐答案

我遇到了同样的问题 我的C#项目都在XPsp3下 我安装了Win7,然后安装了Vis Studio 8 SP1和其余的开发工具. 打开我的C#项目,并遇到另存为"问题. ,尝试一下,它对我有用.

I had the same problem My C# projects were all under XPsp3 I installed Win7, then Vis Studio 8 SP1 and the rest of my development tools. Opened up my C# projects and got the Save As problem. , try this, it worked for me.

确保您以管理员身份运行Visual Studio. 为此,请为Visual Studio 2008创建一个桌面快捷方式. 右键单击它,然后选择属性". 然后选择兼容性"选项卡. 在特权级别"下的底部,确保已选中以管理员身份运行程序". 选择确定按钮. 再次启动Vis Studio

Make sure you are running Visual Studio as an Adminstrator. To do this, create a Desktop Short cut for Visual Studio 2008. Right click on it, and select Properties. Then select the Compatibility tab. At the bottom under Priviledge Level, make sure Run the program as an adminstrator is checked. Select the OK button. Start Vis Studio again

还可以尝试

1)打开Visual Studio命令提示符 2)然后运行以下命令:devenv/ResetSettings.

1) Open the Visual Studio command prompt 2) Then run the following : devenv /ResetSettings.

这篇关于在Visual Studio 2008中将文件另存为对话框问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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