Upgrade Asp.net MVC2 to Asp.net mvc3

Source: Internet
Author: User
  1. Create an Asp.net mvc3 project with files required for upgrade.
  2. Modify system. Web. MVC reference, delete version 2.0 reference, and add reference version 3.0.
  3. Add system. web. webpages. DLL reference. Possible location of the dll path: C: \ Program Files (x86) \ Microsoft ASP. net \ ASP. net web pages \ V1.0 \ assemblies \ system. web. webpages. DLL
  4. Add system. web. helpers. DLL reference. Possible location of the dll path: C: \ Program Files (x86) \ Microsoft ASP. net \ ASP. net web pages \ V1.0 \ assemblies \ system. web. helpers. DLL.
  5. Modify the Web. config file and change the version 2.0.0.0 of system. Web. MVC in the file to 3.0.0.0.
  6. Copy the themes folder in the content folder of the mvc3 project to the content folder of mvc.20.
  7. Copy the JS script mvc.20 In the scripts folder of the mvc3 project.
Related Article

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.