WebMatrix Opens Wrong Version Of Visual Studio

4.83 (12 votes)

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


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


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

- satyabrata

very helpful.

- Alexis

Thank you so much!

- Fred

I enjoyed many of your tutorials but the problem is none of the tutorials are combined like most real life applications will be. When trying to combine your methods I can not get the same functionality as when they are seperate. Example, I need a page that will sort/filter by 3 criteria, select all checkboxes across pagination, and delete those selected. The tutorials have no examples of combining these methods into any useful app. I have been very frustrated because I rely on books and online resources and don't have days to try and figure out issues or debugging forever. Thoughts?

- Mike


The articles I write are designed for people who do have days to try to figure out how to combine them into a meaningful app, although it really shouldn't take days for anyone with the right aptitude.

- TheCuBeMan

Although the tip here is very accurate and did the job exactly as I expected when looking for the issue in question, I think it would have been wiser and nicer to point out the registry backup thing at the top of the article and not only after explaining all the actions to perform on the Registry...
Anyway, great article, helped me a lot!! Thumbs up!

- Ed

What is the fix for VS2015?

- Mike


I advise to backup the registry before providing details on the steps to take....

- Mike


The CurVer for VS 2015 is VisualStudio.DTE.14.0 and the CLSID is {A2FA2136-EB44-4D10-A1D3-6FE1D63A7C05}

- hb

Mike - I got this working when I went decided to look at the community edition of VS2015 and tried to leave WebMatrix behind. The thing I miss the most and find myself going back for is the SQL CE db management and the remote site management. I found a substitute in a VS extension for SQL CE but the remote site management (download and publish) in VS is second class to WebMatrix in my opinion - any suggestions for a replacement?

- Mike


I use FTP , myself.

Recent Comments

Phil 29/11/2015 18:48
In response to iTextSharp - Working with images
Hi Mike, great article as ever. Any chance you can do an example of adding a swf to a pdf with I it...

makhlas 27/11/2015 17:05
In response to How To Send Email In ASP.NET MVC
hello, thanks for sharing these tutos , but when i apply the send button, i'm gettin this error...

raphael 27/11/2015 13:59
In response to ASP.NET 5: Managing Client-side Dependencies with NPM, Bower and Gulp
i fixed it. i'm not sure *what* it is that VS does, but you get the same result if you do a "npm on...

Raphael 27/11/2015 13:02
In response to ASP.NET 5: Managing Client-side Dependencies with NPM, Bower and Gulp
There seems to be a major issue with the dependency manager in VS2015. I haven't yet figured out but...

Joaquín Bresan 26/11/2015 17:58
In response to Getting the identity of the most recently added record
Great contribution friend. Thank you so much for sharing....

JR 26/11/2015 02:49
In response to ASP.NET MVC 5 with EF 6 - Working With Files
Hello, Where is the location of the database? Thanks...

sumalatha 24/11/2015 22:09
In response to ASP.NET 5 Middleware, Or Where Has My HttpModule Gone?
Great article. I have gone through hundreds of articles, finally this gives the comprehensive of...

TimPat10 24/11/2015 17:35
In response to A Better Way To Export Gridviews To Excel
Great article. I've noticed that date fields have to be re-formatted when the spreadsheet is pulled...

Rajasekar 24/11/2015 12:27
In response to Import Data From Excel to Access with ASP.NET
While use this code i'm facing on error: "Unrecognized Database format C:\mydabase.accdb" can any...

Parmod 24/11/2015 07:28
In response to ASP.NET 5 Project Basics
For a new learner (Fresher) in ASP.NET there is a issue Fresher have to learn two types of , old...