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

2019-03-26 16:43发布

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?

2条回答
SAY GOODBYE
2楼-- · 2019-03-26 16:48

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

查看更多
Bombasti
3楼-- · 2019-03-26 16:54

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

查看更多
登录 后发表回答