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.
These are the steps for windows 7:
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.exeClick on
devenv.exeand change the value ofdefault.When you open
defaultit has value likeC:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exeYou need to change the value to your other installation, maybe
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exeAfter completing steps above, when you run
devenvcommand it opens vs2010.