Visual Studio 2017 安装多个组件失败 [英] Visual Studio 2017 failed to install several components

查看:52
本文介绍了Visual Studio 2017 安装多个组件失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio 2017 社区版发行版的安装程序有几个组件失败

The installer for release version of Visual Studio 2017 Community edition failed for several components

产品未能安装列出的工作负载和组件,原因是一个或多个包失败.

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

不完整的工作负载使用 .NET 进行移动开发 (Microsoft.VisualStudio.Workload.NetCrossPlat,version=15.0.26228.0)

Incomplete workloads Mobile development with .NET (Microsoft.VisualStudio.Workload.NetCrossPlat,version=15.0.26228.0)

不完整的组件Google Android 模拟器(API 级别 23)(Component.Google.Android.Emulator.API23.V2,version=15.0.26208.0)

Incomplete components Google Android Emulator (API Level 23) (Component.Google.Android.Emulator.API23.V2,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.

以下是导致以下问题的单个程序包故障的集合上面不完整的工作负载和组件.搜索现有的有关这些具体问题的报告,请复制并粘贴 URL每个包失败进入网络浏览器.如果问题已经报告,您可以在那里找到解决方案或变通方法.如果问题还没有被举报,你可以在其他人那里创建一个新的问题将能够找到解决方案或变通办法.

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.

包AndroidEmulator_API23V2,version=1.0.23"下载失败来自 'https://go.microsoft.com/fwlink/?linkid=841569'.搜索网址:https://aka.ms/VSSetupErrorReports?q=PackageId=AndroidEmulator_API23V2;PackageAction=DownloadPackage;ReturnCode=0x80072f7d受影响的工作负载使用 .NET 进行移动开发 (Microsoft.VisualStudio.Workload.NetCrossPlat,version=15.0.26228.0)受影响的组件Google Android 模拟器(API 级别 23)(Component.Google.Android.Emulator.API23.V2,version=15.0.26208.0)细节WebClient 下载失败:解密操作失败,查看内部异常.位下载失败:错误上下文:BG_ERROR_CONTEXT_REMOTE_FILE,错误代码:-2147012739WinInet 下载失败:功能:InternetReadFile,HR:-2147012739,消息:未知错误 12157

Package 'AndroidEmulator_API23V2,version=1.0.23' failed to download from 'https://go.microsoft.com/fwlink/?linkid=841569'. Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=AndroidEmulator_API23V2;PackageAction=DownloadPackage;ReturnCode=0x80072f7d Impacted workloads Mobile development with .NET (Microsoft.VisualStudio.Workload.NetCrossPlat,version=15.0.26228.0) Impacted components Google Android Emulator (API Level 23) (Component.Google.Android.Emulator.API23.V2,version=15.0.26208.0) Details WebClient download failed: The decryption operation failed, see inner exception. Bits download failed: Error context: BG_ERROR_CONTEXT_REMOTE_FILE, Error code: -2147012739 WinInet download failed: Function: InternetReadFile, HR: -2147012739, Message: Unknown error 12157

这个使用 .NET 的移动开发是否会影响 Windows UWP 开发?我目前并不真正需要 Android 开发工具.

Does this Mobile development with .NET impact in anyway Windows UWP development? I don't really need the Android development tools at this moment.

对此的最佳操作方案是什么 - 我尝试了两次安装,结果相同 - 我可以稍后自行安装组件吗?

What is the best course of action for this - I tried the install twice, with the same result - can I install the components later on their own?

编辑:Visual Studio 似乎运行正常,我可以打开我的 UWP 项目并运行它,所以到目前为止一切似乎都正常.这是安装的应用程序的版本

EDIT: Visual Studio seems to run correctly, and I can open my UWP project and run it so everything seems to work ok so far. This is the version of the application that was installed

Microsoft Visual Studio Community 2017
Version 15.0.26228.9 D15RTWSVC
Microsoft .NET Framework
Version 4.6.01586
Installed Version: Community

推荐答案

看看你的机器上是否有这个文件:

See if you have this file on your machine:

%programfiles(x86)%\Microsoft Visual Studio\Installer\resources\app\layout\InstallCleanup.exe

如果是这样,请使用 -full 参数从管理员命令提示符启动它:

If so, please launch it from an admin command prompt with a -full param:

InstallCleanup.exe -full

如果没有,请手动删除文件夹:

If not, please manually delete the folder:

%programfiles(x86)%\Microsoft Visual Studio\Installer

重新启动新下载的 vs_enterprise.exe(或 vs_professional.exevs_community.exe).允许第一步安装安装程序.

Relaunch the newly downloaded vs_enterprise.exe (or vs_professional.exe or vs_community.exe). Allow the first step to install the installer.

安装程序启动后,您可以看到工作负载选项(.NET 桌面等),关闭它.去启动相同的 InstallCleanup.exe 来清理 VS 的旧版本.

Once the installer comes up and you can see workload choices (.NET desktop and the like), close it. Go launch the same InstallCleanup.exe to clean up old build of VS.

然后重新启动 vs_enterprise.exe 并安装

Then relaunch vs_enterprise.exe and install

这篇关于Visual Studio 2017 安装多个组件失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆