Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET MVC 3: Which dll's need to be deployed?

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?

like image 786
Brad Leach Avatar asked Jan 18 '11 11:01

Brad Leach


2 Answers

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

like image 92
Omar Avatar answered Oct 22 '22 12:10

Omar


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

like image 43
Lee Smith Avatar answered Oct 22 '22 10:10

Lee Smith