.NET Daily

ASP.net

How to open an MVC 2 Project in Visual Studio 2012

Posted on .

How to open an MVC 2 Project in Visual Studio 2012

Introduction

It seems that Visual Studio 2012 doesn’t know how to upgrade projects created in Visual Studio 2010 with ASP.NET MVC 2 (or maybe it doesn’t want to). Follow these steps in order to unlock an ASP.NET MVC 2 or MVC 1 project in Visual Studio 2012:

MVC 2 Visual Studio 2012

MVC 2 Visual Studio 2012

Step 1: Right click on the project and click “Edit projectname.csproj”.

Step 2: In the opened file find the tag and from there delete the following GUID:

ASP.NET MVC 2: {F85E285D-A4E0-4152-9332-AB1D724D3325}

This actually works also for ASP.NET MVC 1 projects

ASP.NET MVC 1: {603c0e0b-db56-11dc-be95-000d561079b0}

Step 3: Save the file and reopen the solution in Visual Studio.

This should be sufficient to allow Visual Studio to open your project again.

Darius

Darius

Darius Dumitrescu is a creative Senior CMS Consultant with in depth .NET knowledge, focused on Web Development and Architecture Design.

Comments
  • user

    AUTHOR Prema

    Posted on 3:15 am October 14, 2015.
    Reply

    Thank you for showing me the simple way to open MVC2 projects now

  • user

    AUTHOR Esteban

    Posted on 1:42 pm April 28, 2016.
    Reply

    Thank you so much! I needed to open a mvc2 project in vs2015 and I coud doing the steps you tell.

  • user

    AUTHOR Lingisetty Rajasekhar

    Posted on 8:31 pm October 22, 2016.
    Reply

    which Project we have to open where is this project ” Right click on the project and click “Edit projectname.csproj”.”.Please help to get Mvc 2 in VS 2012

  • View Comments (3) ...
    Navigation

    Privacy Preference Center