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: 15697

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

faysal 3/3/2015 11:46 AM
In response to Inline Editing With The WebGrid
Nice one can you please tell us how we can do ad and delete functionality in this. for e.g if i on...

Fairoze Mohamed Musthafa 3/2/2015 8:33 AM
In response to Date formatting in VBScript
Appreciated !!!!...

mahdi 3/1/2015 10:16 AM
In response to Getting the identity of the most recently added record
Great Article....

Sohrab 2/28/2015 12:53 PM
In response to Displaying One-To-Many Relationships with Nested Repeaters
hi.this was very usefull for me.after spending 6 hours I could find best answer for my alot....

Abolfazl RoshanZamir 2/28/2015 10:36 AM
In response to Date Formatting in C#
very informative... thanks for sharing sir......

Oscar Duran 2/27/2015 2:00 PM
In response to How To Check If A Query Returns Data In ASP.NET Web Pages
Thank you very much Mike, this post has been very useful to me....

lama 2/27/2015 1:46 PM
In response to iTextSharp - Working with Fonts
thanks alot!! is it possible to add line height value to a paragraph ?...

Oded Dror 2/27/2015 5:23 AM
In response to MVC 5 with EF 6 in Visual Basic - Creating an Entity Framework Data Model
Hi there, Where I can find Contoso University Database? Thanks, Oded Dror...

hosein ey 2/25/2015 1:56 PM
In response to ASP.NET MVC 5 with EF 6 - Working With Files
tnx for this article do you think next version of entityframework support's the sql server and ?...

Saywer Ford 2/25/2015 5:15 AM
In response to Optimising ASP.NET Web Pages Sites - Bundling And Minification
Great Article. I did everything right and working fine. How about page specific js files. Lets I...