This is simple yet many developers face this problem. So thought to blog about it hoping that this will be helpful to someone.
Say you have multiple versions of Visual Studios’ installed in your system. Obviously, lastly installed version will be default one i.e., launched when you type ‘devenv’ in Run Command (Start -> Run -> Command). Here is a way to change it to version which you use most or want to be opened when you use devenv.
- Open Registry Editor – Start -> Run -> Type ‘regedit’ (without quotes)
- Navigate to
- Right-click on devenv.exe and click on Modify ( a dialog will be displayed where you can change the value of it)
Usually the value will be C:\Program Files (x86)\Microsoft Visual Studio x.x\Common7\IDE\devenv.exe
You have to replace that x.x to the version which you want.