问题描述
我的 PC (Windows XP) 中同时安装了 VS 2008 和 VS 2010.现在我尝试通过 Start -> Run -> devenv 打开 IDE 它总是打开 VS 2008 环境.这个设置可以改吗??也就是说,当我在 Start -> Run
中键入 devenv 时,我确实想打开 VS 2010慷慨地欢迎任何帮助.
I have both VS 2008 and VS 2010 installed in my PC (Windows XP). Now I try to open IDE via Start -> Run -> devenv it always open VS 2008 environment. Is it possible to change this settings ?? That is I do want to open VS 2010 when I type devenv in Start -> Run
Graciously welcoming any help.
推荐答案
这些是 Windows 7 的步骤:
These are the steps for windows 7:
按 windows + r 打开运行窗口,然后输入regedit"打开您的 PC 注册表.
Press windows + r to open run window and then write "regedit" to open your PC registry.
然后去HKEY_LOCAL_MACHINE
-> SOFTWARE
-> Microsoft
-> Windows
-> Currentversion
-> App Paths
-> devenv.exe
Then go to HKEY_LOCAL_MACHINE
-> SOFTWARE
-> Microsoft
-> Windows
-> Currentversion
-> App Paths
-> devenv.exe
点击devenv.exe
,修改default
的值.
当您打开 default
时,它的值类似于 C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe
When you open default
it has value like C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe
您需要将值更改为其他安装,可能 C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe
You need to change the value to your other installation, maybe C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe
完成上述步骤后,当您运行 devenv
命令时,它会打开 vs2010.
After completing steps above, when you run devenv
command it opens vs2010.
这篇关于在运行命令中更改 Visual Studio 版本(开始 -> 运行 -> devenv)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!