WebMatrix Opens Wrong Version Of Visual Studio
The Launch button is wired up to look for the current version of Visual Studio in the Registry, so if you find that 2008 gets launched, its because you have either installed 2008 after 2010, or reinstalled it or did something else that will have changed the current version of VS. You just need to change it back to 2010. Since this involves making changes to the Registry, the usual sensible advice applies - back it up beforehand (if you are a wimp). I've never backed up the Registry so I can't tell you how to do that.
Type Regedit in Search Programs and Files in your Start menu, double click regedit.exe and select the HKEY_CLASSES_ROOT branch. Navigate to VisualStudio.DTE. Change CurVer to VisualStudio.DTE.10.0. Then change CLSID to {656D8328-93F5-41a7-A48C-B42858161F25}. You can copy this value from here, or by opening VisualStudio.DTE.10.0 (which should be just below where you are working) and copying it from there.
Job done. Now the right version of VS should fire up at the click of that button.
If you found that it all went horribly wrong and nothing works on your machine anymore, I hope you backed up your registry...
Currently rated 4.82 by 11 people
Rate Now!
Date Posted:
01 May 2011 08:56
Last Updated:
Posted by:
Mikesdotnetting
Total Views to date:
6589



Comments
06 October 2011 21:05 from andhe
GREAT! Thanks for help!
27 April 2012 17:44 from Brendon
Excellent. In my situation, I uninstalled Visual Studio 2008, but none of the registry entries associated were removed/updated. Figures...Microsoft.
12 July 2012 21:56 from NRGB
Thanks bro! worked amazing!
21 February 2013 10:26 from Ho Nguyen
thanks :).