将文件类型与 Visual Studio 2003 重新关联

发布于 2024-07-25 04:18:54 字数 425 浏览 3 评论 0原文

我有一台装有 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 技术交流群。

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

发布评论

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

评论(2

╰ゝ天使的微笑 2024-08-01 04:18:55

会发生什么(抱歉,我只有 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

意犹 2024-08-01 04:18:55

实际上可以运行 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

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