There is no asp.net mvc3 Project template problem in the new environment.

Source: Internet
Author: User
Tags visual studio 2010

Because of the problem two weeks ago, you can open a previous project without razor. However, a razor website of asp.net mvc3 still cannot load projects. The reason is that Microsoft ASP. net mvc 4-Visual Studio 2010 Tools cannot be installed, whether it is to use the installation package downloaded by the website or Web Installer, view the log

OS Version = 6.1.7601, Platform 2, Service Pack 1
OS Description = Windows 7-x64 Ultimate Edition Service Pack 1

CommandLine = "C: \ TDDOWNLOAD \ AspNetMVC3ToolsUpdateSetup \ setup.exe"

Using Simultaneous Download and Install mechanic

Operation: Installing

Package Name = Microsoft ASP. net mvc 3 Tools Update
Package Version = 3.0.20406.0

User Experience Data Collection Policy: Disabled

Number of applicable items: 2

MSI (C: \ TDDOWNLOAD \ AspNetMVC3ToolsUpdateSetup \ AspNetMVC3VS2010Tools. msi) Installation succeeded. Msi Log: Microsoft ASP. net mvc 3 Tools Update_20120226_211129089-MSI_AspNetMVC3VS2010Tools.msi.txt
MSI (C: \ TDDOWNLOAD \ AspNetMVC3ToolsUpdateSetup \ NuGet. msi) Installation failed. Msi Log: Microsoft ASP. net mvc 3 Tools Update_20120226_211129089-MSI_NuGet.msi.txt
MSI (C: \ TDDOWNLOAD \ AspNetMVC3ToolsUpdateSetup \ AspNetMVC3VS2010Tools. msi) Uninstall succeeded. Msi Log: Microsoft ASP. net mvc 3 Tools Update_20120226_211129089-MSI_AspNetMVC3VS2010Tools.msi.txt

Final Result: Installation failed with error code: (0x80070643), "a serious error occurred during Installation" (Elapsed time: 0 00:08:06 ).

======================================

Therefore, an old version of NuGet cannot be installed, so that my ASP. NET MVC3 Tools are rolled back together. Why can't NuGet be installed? Because the latest version of NuGet 1.6 has been installed before, and the upgrade from 1.5 to 1.6 has been greatly updated, so that its online update is not successful, you must uninstall 1.5 to install 1.6.

There are two solutions for this situation, one is to uninstall NuGet1.6 plug-in before installation, and the other is to decompress ASP. NET MVC3 Tools installation package, run the vs10-kb2483190-x86 upgrade file and aspnetmvc3vs2010tools. msi. I use the latter.

Now the MVC2, MVC3, and MVC4 project templates appear in the new project. Solve the problem.

 

The website also has other solutions, but they may be different from my situation for reference only:

Failed to install asp.net MVC3 official version under win2003 + vs2010 after Asp. net mvc 3 project templates not showing up

I hope this article will help you!

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.