为什么MS VS 2005是运行VS 2003项目的默认程序? [英] Why MS VS 2005 is the default program that runs VS 2003 projects?

查看:81
本文介绍了为什么MS VS 2005是运行VS 2003项目的默认程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问候,

我想问的是第一次发生的事情,它认为非常.

我不知道以下奇怪的事情是怎么发生的,但我真的需要您的忠告:

当我尝试打开任何Visual Studio 2003项目时,它总是在Visual Studio 2005中自动运行,并显示升级代码的向导.因此,为了打开任何Visual Studio 2003项目,我应该从右键菜单" 中选择打开方式" ,然后选择Visual Studio 2003打开我的项目.或者我只是先运行VS2003程序,然后加载我的项目.

我认为这是一个配置问题或 Visual Studio设置,需要进行正确配置才能更改VS 2003项目的默认程序.

请就上述不便行为提出建议...

预先感谢..

Greetings,

I want to ask about something which happened as a first time with me and it considered very .

I don`t know how this following weird thing happened but I really need your advise:

When I try to open any Visual Studio 2003 project, it always run automatically in Visual Studio 2005 and a wizard to upgrade the code is shown. So in order to open any Visual Studio 2003 project,I should select "Open With" from the "RightClick Menu" and then choose Visual Studio 2003 to open my project. or I simply run VS2003 program first then load my project.

I think it is a configuration issue or Visual Studio settings that needs to be configured well in order to change the default program of VS 2003 projects.

Please advise on the above inconvenience behavior...

Thanks in advance..

推荐答案

http://msdn.microsoft.com/en-us/library/ms246609(v=vs.80).aspx[^]
This link will answer your WHY.

It is not visual studio setting, but a file association with .sln/.vbproj/.csproj files.


这是预期的行为.

不,这不是配置问题.这是设置系统注册表的方式.作为Windows开发人员,您应该了解这些事情.请参阅
http://msdn.microsoft.com/en -us/library/windows/desktop/cc144148%28v = vs.85%29.aspx [
This is expected behavior.

No, this is not a configuration issue. This is how your system registry is set up. As a Windows developer, you''re supposed to know such things. See http://msdn.microsoft.com/en-us/library/windows/desktop/cc144148%28v=vs.85%29.aspx[^].

It happened just because you installed VS 2003 first and VS 2005 later. You can easily change the file type back to VS 2003 (consult the article I referenced above), but I don''t advise to do so.

Also, why do you think there is anything wrong with opening all your projects with VS 2005. I think .NET v.2.0 (targeted by VS 2005) is the first decent version of .NET; and it still has its values these days, but everything prior to this version does not worth any support. Moreover, v.2.0 can be installed on any system which can have prior versions of .NET Framework, so you have absolutely nothing to loose.

Also, you can migrate to any later version of Visual Studio and still support v.2.0 as all later versions of Visual Studio support multi-targeting and a project can be targeted to any .NET Framework version starting from 2.0 (but not earlier versions; they really go out of support).

—SA


这篇关于为什么MS VS 2005是运行VS 2003项目的默认程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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