Downgrade MVC project from Framework 4.5 to 4.0

asp.net, asp.net-mvc

Solution

Try to target .NET Framework 4.0 in your solution first.

Right click on your project-> Properties->Application panel. You should see it there. After setting your target framework you have to compile and address all possible framework specific scenarios.

Problem

Is there a defined way of downgrading a solution to a lower version of the .net Framework.

Original source