Open visual studio 2010 using devenv command
In this article, I will explain how to open vs2010 using devenv command in windows 7 when you have more then on visual studio 2008/2010 in your PC.
In this article, I will explain how to open vs2010 using devenv command in windows 7 when you have more then on visual studio 2008/2010 in your PC.
Most of the forum I am read the question that I have two vs 2008 and 2010 in my PC and when I right "devenv" command in the run it is always open vs2008 not 2010.So how to open always vs2010 instead of vs2008.
Here is the solution for that.You have to change the registry in your PC for "devenv" command,. (Here i am explain for the windows 7).
1) Press windows + r it is open run windows and then write "regedit" which is 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 this
C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe
You to just change the value this
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe
After completed above steps, when you run "devenv" command it is open vs20010.
very nice ...thanks