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

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

Jon 31/03/2016 21:36
In response to Exploring Prefix: A Free ASP.NET Profiling Tool
We had the exact same experience, finding multiple bugs in an application that we thought was pretty...

ranjith 31/03/2016 05:50
In response to A Better Way To Export Gridviews To Excel
Hello Mike. i am exporting from gridview, because i have some images in my gridview. but i am error...

Matt Watson 30/03/2016 22:19
In response to Exploring Prefix: A Free ASP.NET Profiling Tool
Glad you are loving it! Matt from Stackify...

Dmitry 28/03/2016 04:26
In response to Solved - The Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine
thank you about the VS 32-bit remark...

federico 26/03/2016 11:29
In response to Request.Form Is Empty When Posting To ASPX Page
thanks!....

Micheal 23/03/2016 00:58
In response to ASP.NET MVC 5 with EF 6 - Working With Files
Thanks for the code. its pretty straightforward. worked for me on my first trial. Perfect!...

Francisco 22/03/2016 20:35
In response to ASP.NET MVC 5 with EF 6 - Working With Files
The post is very good, thanks...

Nick Brown 22/03/2016 13:53
In response to Adding A View
Hi, Many thanks for this tutorial, it's helping me get started with MVC. In VB (VS 2013) I get late...

ferry mae 22/03/2016 13:04
In response to Send form content by email in ASP.NET
do i need to change this? message.To.Add(new MailAddress("me@domain.com")); message.CC.Add(new you...

Keith 22/03/2016 12:02
In response to Creating a Connection String and Working with SQL Server LocalDB
As always worst explanation, but this time you rocked with plagiarism too .. huhh.. copied from Rick...