VS2010 add MVC3 and MVC4

VS2010 comes with only MVC2, the project you want to load MVC3 and above, you need to install the plugin.

MVC3 plug-ins:

   1. First download the plug: 

         MVC 3 installation package: http://www.microsoft.com/downloads/zh-cn/details.aspx?familyid=d2928bc1-f48c-4e95-a064-2a455a22c8f6&displaylang=zh-cn

         VS Tools update package: http://www.microsoft.com/downloads/zh-cn/details.aspx?familyid=82cbd599-d29a-43e3-b78b-0f863d22811a&displaylang=zh-cn

    2. Installation sequence:

      AspNetMVC3Setup,AspNetMVC3Setup_CHS,AspNetMVC3ToolsUpdateSetup,AspNetMVC3ToolsUpdateSetup_CHS

      If the installation is successful this time, then all is well. mvc3 has been successful, the third step if an error occurs, look.

    3. I have an error occurred during the installation process, looking for a few blog useless, knowing found this one : https://www.cnblogs.com/EasonJim/p/4680647.html

       Probably steps are as follows:

We will AspNetMVC3ToolsUpdateSetup.exe file to decompress it, unzip will produce a number of documents.

 

Installation sequence is as follows: VS10-KB2483190-x86.exe special attention, right-click the file select Run as Administrator, otherwise permission errors will be reported

 

AspNetWebPages.msi

 

AspNetWebPagesVS2010Tools.msi

 

AspNetWebPagesVWD2010Tools.msi

 

AspNetMVC3.msi

 

AspNetMVC3VS2010Tools.msi

 

AspNetMVC3VWD2010Tools.msi

 

NuGet.msi
then we AspNetMVC3ToolsUpdateSetup_CHS.exe then decompress the file, unzip will produce a number of documents.

 

Mounted in the following order: aspnetwebpages_lp_chs.msi

 

aspnetwebpagesvs2010tools_lp_chs.msi

 

aspnetwebpagesvwd2010tools_lp_chs.msi

 

aspnetmvc3_lp_chs.msi

 

aspnetmvc3vs2010tools_lp_chs.msi

 

aspnetmvc3vwd2010tools_lp_chs.msi
the above solutions do not need to back up the registry, do not need to skip the installation and does not need to uninstall SP1 patch, which can be the perfect solution to install the official version of MVC3 wrong question.

 

MVC4 plug-ins:

Prior to installation, we recommend a software Microsoft Web Platform Installer, plug-ins can be found on it.

  Step One: Download the plug VS2010 SP1 (VS2010 installed MVC4 must first install SP1, and then install MVC4.), MVC4 Download: https://www.microsoft.com/web/handlers/webpi.ashx/getinstaller/MVC4VS2010_Loc.appids .

                  Two plug-ins can be found on the Microsoft Web Platform Installer. 

 Step two: install it.

              

 

Guess you like

Origin www.cnblogs.com/BounceGuo/p/11039396.html