Which files need to be marked Copy Local to "True" when deploying a ASP.NET MVC 3 application on a server that does not have ASP.NET MVC 3 installed?
From http://www.hanselman.com/blog/BINDeployingASPNETMVC3WithRazorToAWindowsServerWithoutMVCInstalled.aspx
System.Web.Mvc
Microsoft.Web.Infrastructure
System.Web.Razor
System.Web.WebPages
System.Web.WebPages.Razor
System.Web.Helpers
System.Web.WebPages.Deployment
Maybe it was because I was deploying with a beta version but for some reason I needed to deploy nuGet.dll as well as Omar's list.
Also See: Scott Gu's blog: http://weblogs.asp.net/scottgu/archive/2011/01/18/running-an-asp-net-mvc-3-app-on-a-web-server-that-doesn-t-have-asp-net-mvc-3-installed.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With