Wednesday, July 29, 2015

How to create run command shortcut for opening visual studio when we have more than one version installed?

shortcut to open visual studio:-
Open Run command box(press windows + R).
Type devenv in the box and press enter.


By default it will open the visual studio you installed first in the machine.
What we need to do if we have more than one version of visual studio installed in that machine?
Here is the solution.

1) Open windows registry (regedit.exe)
2) Navitage to HKEY_LOCAL_MACHINE >> SOFTWARE >> Microsoft >> Windows >> Currentversion >> App Paths >> devenv.exe


Change the Default key to the desired visual studio devenv.exe.
This will not solve the problem fully to open different versions, then add new key and give different name just like below.

No comments:

Post a Comment