简体   繁体   English

由于一个或多个程序包故障,Visual Studio 2017无法安装列出的工作负载和组件

[英]Visual Studio 2017 failed to install the listed workloads and components due to one or more package failures

I am trying to install Visual Studio Professional 2017 in Windows 10. Whenever I try to install the ASP.NET and Web Development package, I get an error with the included log. 我正在尝试在Windows 10中安装Visual Studio Professional2017。每当我尝试安装ASP.NET和Web开发包时,都会收到包含日志的错误消息。 I have tried the steps outlined in this solution: Visual Studio 2017 failed to install several components . 我尝试了此解决方案中概述的步骤: Visual Studio 2017无法安装多个组件 I also followed the link in the log file and followed the instructions found here: https://developercommunity.visualstudio.com/content/problem/24352/vs2017-installer-fails-trying-to-update-package-mi.html however I received the same error. 我还遵循了日志文件中的链接,并遵循了以下说明: https : //developercommunity.visualstudio.com/content/problem/24352/vs2017-installer-fails-trying-to-update-package-mi.html我收到了同样的错误。 Visual Studio still opens and works fine (as far as I can tell), however I'm missing a lot of components that I need. Visual Studio仍然可以打开并且可以正常工作(据我所知),但是我缺少了很多我需要的组件。

Many thanks in advance! 提前谢谢了!

Error log: 错误日志:

    The product failed to install the listed workloads and components due to one or more package failures.

Incomplete workloads
    ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15.0.26412.1)

Incomplete components
    ASP.NET and web development tools (Microsoft.VisualStudio.Component.Web,version=15.0.26323.1)
    Windows Communication Foundation (Microsoft.VisualStudio.Component.Wcf.Tooling,version=15.0.26208.0)

You can search for solutions using the information below, modify your selections for the above workloads and components and retry the installation, or remove the product from your machine.

Following is a collection of individual package failures that led to the incomplete workloads and components above. To search for existing reports of these specific problems, please copy and paste the URL from each package failure into a web browser. If the issue has already been reported, you can find solutions or workarounds there. If the issue has not been reported, you can create a new issue where other people will be able to find solutions or workarounds.

Package 'Microsoft.VisualStudio.AspNet45.Feature,version=15.0.26208.0' failed to install.
    Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.AspNet45.Feature;PackageAction=Install;ReturnCode=-2146498548
    Impacted workloads
        ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15.0.26412.1)
    Impacted components
        ASP.NET and web development tools (Microsoft.VisualStudio.Component.Web,version=15.0.26323.1)
        Windows Communication Foundation (Microsoft.VisualStudio.Component.Wcf.Tooling,version=15.0.26208.0)
    Log
        C:\Users\Oliver\AppData\Local\Temp\dd_setup_20170608105455_234_Microsoft.VisualStudio.AspNet45.Feature.log
    Details
        Command executed: "C:\WINDOWS\system32\dism.exe" /online /quiet /norestart /Enable-Feature /FeatureName:"netfx4extended-aspnet45" /All /logPath:"C:\Users\Oliver\AppData\Local\Temp\dd_setup_20170608105455_234_Microsoft.VisualStudio.AspNet45.Feature.log"
        Return code: -2146498548
        Return code details: The Windows feature is unknown.

You can try to download full offline installer - there is about 30Gb 您可以尝试下载完整的脱机安装程序-大约有30Gb

vs_Community.exe --layout HERE_PATH_TO_SAVE --lang en-US vs_Community.exe --layout HERE_PATH_TO_SAVE --lang zh-CN

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 对Visual Studio工作负载,组件和包的了解 - understanding of Visual Studio Workloads, Components and packages 适用于 Visual Studio 2017 的 AWS 工具包:安装失败 - AWS Toolkit for Visual Studio 2017 : Install Failed 我可以在Visual Studio 2017 Professional Edition上使用现有的Visual Studio 2017工作负载(来自社区版)吗? - Can I use existing Visual Studio 2017 Workloads (from Community Edition) on a Visual Studio 2017 Professional Edition? Visual Studio 2017安装失败并出现软件包安装错误 - Visual Studio 2017 installation fails with package install error 错误1316。指定的帐户已经存在。 Visual Studio 2017:无法安装软件包。 返回码1603 - Error 1316. The specified account already exists. Visual Studio 2017: Failed to install package. Return Code 1603 在 Visual Studio 2017 上安装 Xamarin - Install Xamarin on Visual Studio 2017 在Visual Studio 2017上安装Monogame - Install Monogame on Visual Studio 2017 安装Visual Studio 2017之后,Visual Studio 2015中的程序包还原失败 - package restore failed in visual studio 2015 after visual studio 2017 installation 由于证书无效,无法安装 Microsoft Visual Studio 2017 安装程序项目 - Cannot install Microsoft Visual Studio 2017 Installer Projects due to invalid certificate 由于Microsoft.DiagnosticsHub.KB2882822错误,Visual Studio 2017安装失败 - Visual Studio 2017 install fails due to Microsoft.DiagnosticsHub.KB2882822 error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM