我尝试使用Web安装平台和手动,但都不工作。
我试图首先安装AspNetMVC3ToolsUpdateSetup.exe但它总是失败与致命的错误
OS Version = 6.1.7601,Platform 2,Service Pack 1 OS Description = Windows 7 - x64 Enterprise Edition Service Pack 1 CommandLine = c:\temp\ext27692\setup.exe TimeZone = Pacific Daylight Time Initial LCID = 1033 Using Simultaneous Download and Install mechanism Operation: Installing Package Name = Microsoft ASP.NET MVC 3 Tools Update Package Version = 3.0.20406.0 User Experience Data Collection Policy: AlwaysUploaded Number of applicable items: 5 MSI (c:\temp\ext27692\AspNetWebPages.msi) Installation succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetWebPages.msi.txt MSI (c:\temp\ext27692\AspNetWebPagesVS2010Tools.msi) Installation succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetWebPagesVS2010Tools.msi.txt MSI (c:\temp\ext27692\AspNetMVC3.msi) Installation succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetMVC3.msi.txt MSI (c:\temp\ext27692\AspNetMVC3VS2010Tools.msi) Installation succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetMVC3VS2010Tools.msi.txt MSI (c:\temp\ext27692\NuGet.msi) Installation Failed. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_NuGet.msi.txt MSI (c:\temp\ext27692\AspNetMVC3VS2010Tools.msi) Uninstall succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetMVC3VS2010Tools.msi.txt MSI (c:\temp\ext27692\AspNetMVC3.msi) Uninstall succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetMVC3.msi.txt MSI (c:\temp\ext27692\AspNetWebPagesVS2010Tools.msi) Uninstall succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetWebPagesVS2010Tools.msi.txt MSI (c:\temp\ext27692\AspNetWebPages.msi) Uninstall succeeded. Msi Log: Microsoft ASP.NET MVC 3 Tools Update_20120618_145125927-MSI_AspNetWebPages.msi.txt Final Result: Installation Failed with error code: (0x80070643),"Fatal error during installation. " (Elapsed time: 0 00:14:10).
我试图修复here,但它不适用于我。
我比上面的屏幕截图看得更远一些,因为它似乎是我认为是nuget,然后立即回滚。它发生得如此之快,我看不到好看。
我有安装Visual Studios 2010 SP1。
解决方法
您可能需要检查几件事情:
>最简单的是从控制面板卸载Nuget manager – >
程式。
>从Web平台安装程序重新安装。添加Nuget
另外,如果你以后的版本的MVC(如4,5),你最好先卸载它们,然后从web平台安装程序安装。