Matt Fordham
Matt Fordham

Reputation: 3187

Convert ASP.NET MVC 4 project from .NET 4.5 to .NET 4

A client is requesting I convert an application I built in MVC 4 using .NET 4.5 down to .NET 4. Is this possible? What are the steps? I am using VS 2012 on Windows 8.

Upvotes: 2

Views: 1748

Answers (2)

user34537
user34537

Reputation:

Right click your project->Select properties (alt+enter), the settings window should pop up. The first tab on the left hand side is "Application" select that. Look for the label "Target Framework". Select whatever target you want. You may get compile errors due to reference or functions no longer existing.

Upvotes: 5

user27414
user27414

Reputation:

You should be able to simply target the .NET 4 Framework in Project Properties. You may have to refactor code if you used anything specific to 4.5 (or find workarounds).

Upvotes: 2

Related Questions