Let visual Studio 2015 support ASP. MVC4.0.0.1

Source: Internet
Author: User

Recently installed in Visual Studio 2015, opened before vs2013 created MVC4 Project Discovery can not compile through, prompt system.web.mvc,system.web.webpages and so on cannot find, online search no fruit, It is possible to implement it through a standalone installation package.

Download it from the link below

ASP. NET MVC 4 for Visual Studio SP1 and visual Web Developer SP1

After installation is sure to have a few places no problem, but only System.Web.MVC this reference has a yellow exclamation mark, can not be compiled through.

By looking at the reference discovery, the System.Web.MVC version is 4.0.0.0, and the project references 4.0.0.1. I intend to change the reference to 4.0.0.0, but afraid of problems, although there is no problem.

Look for an upgrade package first.

Ah ha, there really is an upgrade package, but look at the description did not mention 4.0.0.1, regardless of the loading test.

This security update resolves security vulnerability ms14-059 for Microsoft ASP 2.0, MVC 3.0, MVC 4.0, MVC 5.0, and MVC 5.1 (KB2990942)

Remember to choose 1.2M aspnetmvc4.msi 4 Download OH

Install finished, then open VS2015, compile, build successfully.

If you encounter MVC3,MVC5 can not use the situation, you can also try oh, but to find the corresponding version of the installation package yo

Original: Http://www.tuicool.com/articles/MVV7va

Let visual Studio 2015 support ASP. MVC4.0.0.1

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.