ASP.NET MVC 3:需要部署哪些DLL?

Bra*_*ach 9 deployment asp.net-mvc asp.net-mvc-3

在没有安装ASP.NET MVC 3的服务器上部署ASP.NET MVC 3应用程序时,需要将哪些文件标记为"True"?

Oma*_*mar 11

来自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

  • 不要部署System.Web.WebPages.Administration.Dll,因为这会导致更多问题. (5认同)
  • RTM版本不再正确,现在需要System.Web.WebPages.Deployment.dll. (3认同)