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

 

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

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

satyabrata 19/06/2016 18:53
In response to Entity Framework Code First and Stored Procedures
Nice article. Thanks. The menu on this website not working in mobile....

satyabrata 16/05/2016 06:28
In response to Implementing SQL Server Full-Text Search In An ASP.NET MVC Web Application With Entity Framework
This is great. Thanks for sharing....

sharey 06/05/2016 13:15
In response to The Best Way To Import Data From Excel To SQL Server via ASP.NET
nice work gentleman.Really helpfull....

Satyabrata Mohapatra 20/04/2016 04:36
In response to The Best Way To Import Data From Excel To SQL Server via ASP.NET
Another beauty !!!! Thanks for sharing....

Avinash Setty 18/04/2016 18:39
In response to Exploring Prefix: A Free ASP.NET Profiling Tool
This tool is awesome! I am very thankful for introducing this tool for us! By any chance, do you is...

flyingtigerfan 17/04/2016 22:56
In response to Request.Form Is Empty When Posting To ASPX Page
Thanks - spent hours trying to figure this out. I'm out of date and trying to start working on some...

Darren Evans 12/04/2016 16:42
In response to Exploring Prefix: A Free ASP.NET Profiling Tool
'Tis indeed a marvellous thing. Just waiting on its appearance for ASP.NET Core. Hopefully not long...

Arkady 03/04/2016 12:09
In response to Request.Form Is Empty When Posting To ASPX Page
Thank you! I spent a day to understand what problem is before I found your article! But I made of...

satyabrata 03/04/2016 03:50
In response to Exploring Prefix: A Free ASP.NET Profiling Tool
This is great!!!!!...

John Dave Bumatay 01/04/2016 02:01
In response to Windows Authentication With ASP.NET Web Pages
+1 ! This worked for me like a magic!~ thank you very much Mike! ;)...