#

Deploying ASP MVC3 to shared hosting isn’t always sunshine and lollipops.   Though my beloved hosting company Arvixe is pretty cutting edge,  it didn’t have (and I didn’t request) that they hop on MVC3 or its beta.   Regardless, I went to deploy an MVC3 app and it blew up because of a variety of dependencies.   As discovered in early MVC2 work, you have to set some assemblies to ‘copy local’ to get it to work on shared hosting.

The list of assemblies to set to copy local = true is:

  • Microsoft.Web.Infrastructure
  • System.Web.Helpers
  • System.Web.Mvc
  • System.Web.Razor
  • System.Web.Webpages
  • System.Web.WebPages.Deployment
  • System.Web.Webpages.Razor
Drew Miller ( blog twitter ) has a great breakdown on this : Click for Breakdown