Upgrading a project to MVC 5

Visual Studio 2013 will automatically upgrade a project simply by allowing the Nuget Package Manager to run Updates.

Steps:

In Visual Studio 2013, open the project and right click on the project name to open the Properties window. Change the Target Framework to at least 4.5.

Then, on the project right click on the References item, and select Manage NuGet Packages. On the right side of the window select “Updates”, and underneath select “All”. This should begin a search for all packages needing to be updated. When the search completes an “Update All” button will appear which if clicked, will update all packages.

Note, my project had the UpgradeMvc3ToMvc4 package. It could not upgrade this so I uninstalled it first, but allowed the dll’s to remain when asked.

Leave a Comment

tech