Mathias F
Mathias F

Reputation: 15891

Upgrade MVC1 project to MVC5

Is there a way to convert a ASP.Net MVC 1 project build in VS2008 to ASP.Net MVC 5 and VS2015?

I tried to just open it in VS 2015 but that gave the error "This project is incompatible with the current version of Visual Studio".

Upvotes: 0

Views: 841

Answers (1)

Mark Redman
Mark Redman

Reputation: 24515

There are ways to reference newer versions and update, eg:

http://www.asp.net/mvc/overview/releases/how-to-upgrade-an-aspnet-mvc-4-and-web-api-project-to-aspnet-mvc-5-and-web-api-2

.. however updating from MVC1 (especially if you cannot open the project) you probably don't want to manually install ASP.NET MVC installs etc (if that what I remember)

I would suggest creating a new MVC5 application, referencing MVC via Nuget etc and pulling in code as required. This will give you a chance to re-structure things and learn newer ways otherwise you my be fighting with MVC configuration and references.

Upvotes: 1

Related Questions