[英]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.