将文件类型与 Visual Studio 2003 重新关联
我有一台装有 Visual Studio 2003 和 2005 的双安装开发计算机。
如何恢复与 Visual Studio 2003 的原始文件关联?
每次我尝试打开 *.cs 文件时,它都会以 2005 打开,而我希望它在 2003 中默认打开。
我知道如何使用“Windows 资源管理器/文件夹选项/文件类型”界面来执行此操作,但我我想知道是否有更有效的方法将关联的文件类型恢复回 Visual Studio 2003。
编辑:
在 Visual Studio 2005 和 2008 中,您可以通过以下菜单链接恢复文件关联: 工具> 选项> 环境> 一般> 恢复文件关联
为了恢复 Visual Studio 2003 的文件关联,您必须重新运行安装 DVD 并指定修复安装。
I have a dual setup development machine with Visual Studio 2003 and 2005.
How can I restore the original file associations to Visual Studio 2003?
Everytime I try to open up a *.cs file it opens it with 2005 when I want it to default open up in 2003.
I know how to do this using the the "Windows Explorer/Folder Options/File Types" interface, but I am wondering if there is a more efficient way to restore the associated file types back to Visual Studio 2003.
Edit:
In Visual Studio 2005 and 2008 you can restore file associations by following the menu links:
Tools > Options > Environment > General > Restore File Associations
In order to restore file associations for Visual Studio 2003 you have to rerun the installation dvd and specify repair install.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
会发生什么(抱歉,我只有 VS 2008,但我希望 VS 2005 也有这个):
如果您尝试以下操作 选项> 环境> 一般> 恢复文件关联
What happens if you try the following (sorry, I only have VS 2008, but I hope VS 2005 has this too):
Tools > Options > Environment > General > Restore File Associations
实际上可以运行 VS.NET 2003 Repair 来恢复 VS.NET 2003 的文件关联
It is actually possible to run VS.NET 2003 Repair in order to restore file associations for VS.NET 2003