Change Visual Studio Version in run-command(Start -> Run -> devenv)

前端 未结 3 1973
梦如初夏
梦如初夏 2021-01-31 17:45

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 envir

相关标签:
3条回答
  • 2021-01-31 17:55

    Consider Visual studio 13 is installed at "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe"

    Now if I want to make Visual studio 13 as default rather than having Visual studio 15 as default then change the following

    Press windows + r to open run window and then write "regedit" to open your PC registry.

    Then go to HKEY_LOCAL_MACHINE -> SOFTWARE -> Microsoft -> Windows -> Currentversion -> App Paths -> devenv.exe

    0 讨论(0)
  • 2021-01-31 18:00

    These are the steps for windows 7:

    1. Press windows + r to open run window and then write "regedit" to open your PC registry.

    2. Then go to HKEY_LOCAL_MACHINE -> SOFTWARE -> Microsoft -> Windows -> Currentversion -> App Paths -> devenv.exe

    3. Click on devenv.exe and change the value of default.

    When you open default it has value like C:\Program Files (x86)\Microsoft Visual Studio 9.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

    After completing steps above, when you run devenv command it opens vs2010.

    0 讨论(0)
  • 2021-01-31 18:12

    I would simply find some Visual studio solution file, right click, properties, change the default version from 2008 to 2010

    0 讨论(0)
提交回复
热议问题