Mvc version 5 for mvc 4

I understand this question was asked by Krudler and this Aaiam Litigoner regarding the demotion.

Our hosting provider could not tell me that MVC 5 projects cannot be hosted together with our package (even letting them know the absolute specifics of the project that I need). Bottom line, this is a huge e-commerce website that I will be in ruins to redo from scratch based on the structure of MVC 4.

I tried to remove System.Mvc links and install MVC 4 through the Nuget Package Manager, but the build errors are crazy and thousands come, since most of the code I wrote is based on MVC 5.

Is there a simple solution to downgrade MVC without having to start a new project and manually copy each individual file, for example, any patch? There are 52 projects in one solution, and this is simply not an option.

Other features:

  • Using the Visual Studio 2015 Community
  • .NET Framework 4.5
0
source share

Source: https://habr.com/ru/post/1261766/


All Articles