To deploy the ASP.net mvc3 Web site on a host that does not have MVC3 installed, you need to include DLL files

Source: Internet
Author: User

Http://hi.baidu.com/aspxdiyer/blog/item/5515a69943232f146e068c15.html

Locate the following files in the machine where ASP.net mvc is installed (32 system is C:\Program Files\Microsoft ASP.) NET directory, copy them to the bin directory of the deployment machine, OK! (Note: Host IIS to install ASP.net 4.0, the site will also use ASP.net 4.0)

C:\Program Files\Microsoft Asp.net\asp.net Web Pages\v1.0\assemblies

System.Web.Helpers.dll

System.Web.Razor.dll

System.Web.WebPages.dll

System.Web.WebPages.Razor.dll

System.Web.WebPages.Deployment.dll

Microsoft.Web.Infrastructure.dll

C:\Program Files\Microsoft Asp.net\asp.net MVC 3\assemblies

System.Web.Mvc.dll

In the deployment of the host ASP.net MVC 3 Web site Program Bin directory to fill these files, you can run smoothly!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.