Hi,
I want to downgrade my web site mvc 5 to mvc 4 because where I am hosting that, that environment not supports the mvc 5.
Can any one give me the suggestion what could I do or where I have to do changes in my project.
I have done the changes in web.config and app web.config(in views folder).
Thanks.Its urgent.

Tom MohanRank #912 · 2.3K reputationPosted Apr 3, 2015, 4:38 AM EDT
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.
Afzaal Ahmad ZeeshanRank #60 · 27.6K reputationPosted Apr 3, 2015, 5:17 AM EDT
So, to downgrade you can compare for what is supported in MVC 4 and what components you need to remove in order to make your application compatible with MVC 4 environment.
This web page might help you in doing so. Please compare the assemblies in both of MVC versions.
Posted Apr 4, 2015, 5:56 AM EDT
I have created the MVC 4 project and than creates all the classes newly(just copied the C# codes). It works for me.
Thanks.