WebMatrix Opens Wrong Version Of Visual Studio

A number of people have complained that clicking the Visual Studio Launch button in WebMatrix opens an older version of Visual Studio instead of the latest version. There is an easy fix to this.

The Launch button is wired up to look for the current version of Visual Studio in the Registry, so if you find that an older version gets launched, its because you have either installed the older version after the latest version, or reinstalled it or did something else that will have changed the current version of VS. You just need to change the current version back to the most recent release. Since this involves making changes to the Registry, the usual sensible advice applies - make a backup of your registry beforehand .

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 for 2010, VisualStudio.DTE.11.0 for 2012 or VisualStudio.DTE.12.0 for 2013. Then change CLSID to {656D8328-93F5-41a7-A48C-B42858161F25} for 2010, {059618E6-4639-4D1A-A248-1384E368D5C3} for 2012 or {3C0D7ACB-790B-4437-8DD2-815CA17C474D} for 2013. You can copy this value from here, or by opening the relevant CLSID node in the registry (which should be just below where you are working) and copying it from there, once you have double clicked "Default" in the editor to invoke the Edit Value box

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...

 

Date Posted: Sunday, May 1, 2011 8:56 AM
Last Updated: Sunday, August 24, 2014 7:36 PM
Posted by: Mikesdotnetting
Total Views to date: 14979

7 Comments

Thursday, October 6, 2011 9:05 PM - andhe

GREAT! Thanks for help!

Friday, April 27, 2012 5:44 PM - Brendon

Excellent. In my situation, I uninstalled Visual Studio 2008, but none of the registry entries associated were removed/updated. Figures...Microsoft.

Thursday, July 12, 2012 9:56 PM - NRGB

Thanks bro! worked amazing!

Thursday, February 21, 2013 10:26 AM - Ho Nguyen

thanks :).

Thursday, May 2, 2013 1:43 AM - Raziel

Thanks great solution :) Worked! :)

Wednesday, July 3, 2013 6:18 AM - Erez A. Korn

Nice, thank you.

Please note that for Visual Studio 2012, you need the following values instead:
CurVer = VisualStudio.DTE.11.0
CLSID = {059618E6-4639-4D1A-A248-1384E368D5C3}

Saturday, September 20, 2014 6:13 AM - Drisan James

Thank you so much!
Add your comment

If you have any comments to make about this article, please use this form to do so. Make sure that your comment relates specifically to the article above. More general comments can be posted through the form on the Contact page.

Please note, all comments are moderated, and some may not be published. The kind of things that will ensure your comment is deleted without ever seeing the light of day are as follows:

  • Not relevant to the article
  • Gratuitous links to your own site or product
  • Anything abusive or libellous
  • Spam
  • Anything in a language I don't understand including gibberish.

I do not pass email addresses on to spammers, so a valid one will assist me in responding to you personally if required.

Recent Comments

Allen Michaels 12/17/2014 4:37 PM
In response to Cascading DropDownLists with jQuery and ASP.NET
Fantastic thank you so much!...

Emily 12/17/2014 12:36 PM
In response to Parameterized IN clauses with ADO.NET and LINQ
Thanks, very helpful!!!! Can i use this for multiple in's ????? IN (.....) and IN(...) and IN...

sss 12/16/2014 3:06 PM
In response to Solving the Operation Must Use An Updateable Query error
good...

Gjuro 12/15/2014 10:30 PM
In response to Examining the Edit Methods and Edit View
You have one fromr (and it should be from, I suppose). :-)...

Gjuro 12/15/2014 10:27 PM
In response to Adding Search
Hi, thnx for all this C#->VB translations. Yet, the following code block is (slightly) in error it a...

Scot 12/14/2014 1:39 PM
In response to Entity Framework 6 Recipe - Alphabetical Paging In ASP.NET MVC
Thanks,Mike I found solution....

Gjuro 12/13/2014 10:52 PM
In response to Accessing Your Model's Data from a Controller
The article mentions "Creating an Entity Framework Data Model for an ASP.NET MVC Application" (at is...

Samuel 12/13/2014 8:40 AM
In response to Displaying The First n Characters Of Text
I have failed to use the extension because it throws an error that it doesn't recognise the chop be...

Ignas 12/12/2014 5:11 PM
In response to Cleaner Conditional HTML Attributes In Razor Web Pages
Any suggestions for Html Helper elements with HtmlAttributes, when you need to conditionally set it...

Gautam 12/11/2014 8:50 PM
In response to Validation In Razor Web Pages 2
Hi Mike Is this required for V3, non html helper input...