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:
Last Updated:
Posted by:
Total Views to date: 16336

8 Comments

- andhe

GREAT! Thanks for help!

- Brendon

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

- NRGB

Thanks bro! worked amazing!

- Ho Nguyen

thanks :).

- Raziel

Thanks great solution :) Worked! :)

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

- Drisan James

Thank you so much!

- Adeel Abbas

Really Thanks for your great help <3
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 I end up deleting quite a lot. The kind of things that will ensure your comment is deleted without ever seeing the light of day are as follows:

  • Requests to fix your code (post a question to forums.asp.net instead, please)
  • Gratuitous links to your own site or product
  • Anything abusive or libellous
  • Spam

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

kawish 4/24/2015 7:04 AM
In response to Using The Themes Helper In Razor Web Pages
Nice:)...

Mahdi 4/23/2015 9:49 PM
In response to Adding a New Row In The Razor WebGrid
Thank u very very. its useful for me...

Jerrie Pelser 4/23/2015 4:24 PM
In response to Entity Framework 6 Recipe: Storing And Managing Time
Nice article Mike! I think there is an error in the House property getter of MovieFormModel. Your...

mike 4/22/2015 4:45 PM
In response to Parameter Queries in ASP.NET with MS Access
If the insert statement got failed how w can i get the error message of as string?...

frank 4/22/2015 9:44 AM
In response to Sessions in ASP.NET 5
Mike can you write up an article showcasing the difference / upgrade paths of ASP.net Web Pages and...

Scott 4/21/2015 11:39 PM
In response to ASP.NET MVC DropDownLists - Multiple Selection and Enum Support
Excellent! Just what I need for the current application I am working on. Even to the extent that I a...

Benjamin 4/21/2015 4:57 AM
In response to Creating a Connection String and Working with SQL Server LocalDB
Hi Mike, great article. I am learning a lot. As commented @Evita, the &lt;Key> Data Annotation is I...

Wayne Hudson 4/20/2015 9:14 PM
In response to Inline Editing With The WebGrid
Thank you very much for your articles. They've helped me a lot. How would you handle inline such...

Dan 4/20/2015 5:01 PM
In response to Sessions in ASP.NET 5
Can I ask how these sort of options are affected by the IIS configuration options when hosted in be...

Shaheen 4/20/2015 3:36 PM
In response to Conversion of a datetime2 data type to a datetime data type resulted in an out-of-range value
Perfect! Saved me from wasting hours....