WebMatrix Opens Wrong Version Of Visual Studio

4.85 (13 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...

 

You might also like...

Date Posted:
Last Updated:
Posted by:
Total Views to date: 19197

18 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

- 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

@Fred,

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

@TheCubeMan,

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

- Mike

@Ed,

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

@hb,

I use FTP , myself.

Recent Comments

dave 20/08/2016 14:57
In response to ASP.NET Web Pages vNext or Razor Pages
Do SimplemembershipProvider in viewpages is supported?...

Steven 18/08/2016 04:40
In response to Entity Framework Code First and Stored Procedures
Can you provide the directives (using statements) you're using for EF7 example?...

yousaid 17/08/2016 22:08
In response to ASP.NET Web Pages vNext or Razor Pages
Increasingly, learning a Microsoft tool is no longer worth the return on investment. Too many tools...

jared 12/08/2016 05:54
In response to ASP.NET Web Pages vNext or Razor Pages
hi mike, just for clarification, is viewpages something different from webpages? is webpages still...

Jocke 08/08/2016 20:37
In response to Loading ASP.NET Core MVC Views From A Database Or Other Location
Good post! If this was to be implemented in a CMS where users can change the view files, how would I...

cyrus 05/08/2016 19:49
In response to ASP.NET Web Pages vNext or Razor Pages
I think adding these features to webpages make it complicated. msft forget webpages goal so we move...

Curt Smith 27/07/2016 20:38
In response to ASP.NET Web Pages vNext or Razor Pages
I am only slightly disappointed to hear that WebMatrix is officially dead, because I suspected this...

Darshan Raj L G 27/07/2016 13:20
In response to Implementing SQL Server Full-Text Search In An ASP.NET MVC Web Application With Entity Framework
I though it would be more helpful for somebody who wants to work with Entity Framework... please EF...

Satyabrata 25/07/2016 08:09
In response to Loading ASP.NET Core MVC Views From A Database Or Other Location
Very Interesting!!...

Jerrie Pelser 23/07/2016 05:08
In response to Loading ASP.NET Core MVC Views From A Database Or Other Location
Very cool concept Mike!...