In my previous article i have show you how to open visual studio from Run command prompt.
When you type devenv it will open the latest version of visual studio until you change the registry entries.
To open specific version you have to follow the below steps
You need to change the value to your other installation, maybe
After completed above steps, when you run
While changing the entry if you get error saying "can't edit" it means that you don't have permission to change, ask your administrator to change it.
Happy Programming...
When you type devenv it will open the latest version of visual studio until you change the registry entries.
To open specific version you have to follow the below steps
- Press windows + r it is open run window and then write "regedit" which is open your PC registry.
- Then go to
HKEY_LOCAL_MACHINE->SOFTWARE->Microsoft->Windows->Currentversion->App Paths->devenv.exe - Click on
devenv.exeand change the value ofdefault.
default if visual studio 2010 is installed, it has value like C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exeTo open visual studio 2008 change it to C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exeTo open visual studio 2005 change it to C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe You need to change the value to your other installation, maybe
After completed above steps, when you run
devenv command it is open the version you specified. While changing the entry if you get error saying "can't edit" it means that you don't have permission to change, ask your administrator to change it.
Happy Programming...
No comments:
Post a Comment