I’ve recently upgrade my MVC apps to MVC 4 version. How to upgrade solution to MVC 4 is pretty clear from MVC Release Notes white paper, but what’s the list of MVC 4 DLLs have to be deployed with the solution if remote hosting doesn’t have installed MVC 4 assemblies. Here is my minimum list of DLLs that should be deployed with an app (it’s even shorter than MVC 3 !):

  • Microsoft.Web.Infrastructure.dll
  • System.Web.Helpers.dll
  • System.Web.Mvc.dll
  • System.Web.Razor.dll
  • System.Web.WebPages.dll
  • System.Web.WebPages.Deployment.dll
  • System.Web.WebPages.Razor.dll

By the way, these are exactly all DLLs which are goes with MVC 4 NuGet package.
In case you need full list of deployable MVC 4 libraries:

  • Microsoft.Web.Infrastructure.dll
  • Microsoft.Web.WebPages.OAuth.dll
  • NuGet.Core.dll
  • System.Net.Http.dll
  • System.Net.Http.Formatting.dll
  • System.Net.Http.WebRequest.dll
  • System.Web.Helpers.dll
  • System.Web.Http.dll
  • System.Web.Http.SelfHost.dll
  • System.Web.Http.WebHost.dll
  • System.Web.Mvc.dll
  • System.Web.Razor.dll
  • System.Web.WebPages.Administration.dll
  • System.Web.WebPages.Deployment.dll
  • System.Web.WebPages.dll
  • System.Web.WebPages.Razor.dll
  • WebMatrix.Data.dll
  • WebMatrix.WebData.dll