问题描述
我尝试使用最新安装程序的布局选项安装Visual Studio 2017 Professional:
I was trying to install Visual Studio 2017 Professional using the layout option of the latest installer:
vs_Professional - -layout C:\Users \MyUser \Downloads \vs2017professional
vs_Professional --layout C:\Users\MyUser\Downloads\vs2017professional
不幸的是,在下载了30.2GB之后,下载失败了。尝试恢复下载时,它再次失败并出现相同的错误:
Unfortunately after having downloaded 30.2GB, the download fails. When trying to resume the download it fails again with the same error:
Visual Studio安装程序命令行实用程序,版本1.10.101.57414
版权所有(C)Microsoft Corporation。保留所有权利。
使用引擎'WebClient'成功下载'https://aka.ms/vs/15/release/channel' b $ b下载'https://download.microsoft.com/download/7/8/1/781CFD6E-B41D-4E08-BBE0-95643960D9D8/visualstudio.vsman'成功使用引擎'WebClient'
目录加载操作相关性:{" id":" d9a4164c-d2a1-43e4-8356-7fbf3c75604b"}
布局操作相关性:{" id":" 15a7f738-fc92- 411a-9a2f-7765d4cbbca9"}
下载'https://download.microsoft.com/download/D/5/0/D50D9A9F-C39E-4D84-AB1E-9DE5547D70F0/AndroidSDKInstall.ps1'成功使用引擎'WebClient'
下载'https://go.microsoft.com/fwlink/?linkid=841555'成功使用引擎'WebClient'
下载'https://go.microsoft.com/fwlink/?linkid=841556'成功使用引擎'WebClient'
下载'https://go.microsoft.com/fwlink/?linkid= 841557'苏使用引擎'WebClient'使用了支持。
下载'https://go.microsoft.com/fwlink/?linkid=841564'成功使用引擎'WebClient'
下载'https://go.microsoft.com/fwlink/?linkid=841558'成功使用引擎'WebClient'
下载'https://go.microsoft.com/fwlink/?linkid= 841567'成功使用引擎'WebClient'
下载'https://go.microsoft.com/fwlink/?linkid=841566'成功使用引擎'WebClient'
错误:程序包'AndroidSDK_API1921V1,version = 1.0.43'无法创建布局缓存。布局创建的返回码是:1。$
microsoft.visualstudio.telemetry.dll
microsoft.visualstudio.telemetry.dll
microsoft .visualstudio.telemetry.dll
microsoft.visualstudio.telemetry.dll
microsoft.visualstudio.telemetry.dll
microsoft.visualstudio.setup。 dll
Visual Studio Setup Command Line Utility, version 1.10.101.57414
Copyright (C) Microsoft Corporation. All rights reserved.
Download of 'https://aka.ms/vs/15/release/channel' succeeded using engine 'WebClient'
Download of 'https://download.microsoft.com/download/7/8/1/781CFD6E-B41D-4E08-BBE0-95643960D9D8/visualstudio.vsman' succeeded using engine 'WebClient'
Catalog load operation correlation: {"id":"d9a4164c-d2a1-43e4-8356-7fbf3c75604b"}
Layout operation correlation: {"id":"15a7f738-fc92-411a-9a2f-7765d4cbbca9"}
Download of 'https://download.microsoft.com/download/D/5/0/D50D9A9F-C39E-4D84-AB1E-9DE5547D70F0/AndroidSDKInstall.ps1' succeeded using engine 'WebClient'
Download of 'https://go.microsoft.com/fwlink/?linkid=841555' succeeded using engine 'WebClient'
Download of 'https://go.microsoft.com/fwlink/?linkid=841556' succeeded using engine 'WebClient'
Download of 'https://go.microsoft.com/fwlink/?linkid=841557' succeeded using engine 'WebClient'
Download of 'https://go.microsoft.com/fwlink/?linkid=841564' succeeded using engine 'WebClient'
Download of 'https://go.microsoft.com/fwlink/?linkid=841558' succeeded using engine 'WebClient'
Download of 'https://go.microsoft.com/fwlink/?linkid=841567' succeeded using engine 'WebClient'
Download of 'https://go.microsoft.com/fwlink/?linkid=841566' succeeded using engine 'WebClient'
Error: Package 'AndroidSDK_API1921V1,version=1.0.43' failed to create layout cache. The return code of the layout creation is: 1.
microsoft.visualstudio.telemetry.dll
microsoft.visualstudio.telemetry.dll
microsoft.visualstudio.telemetry.dll
microsoft.visualstudio.telemetry.dll
microsoft.visualstudio.telemetry.dll
microsoft.visualstudio.setup.dll
Visual Studio 2017 Enterprise也是如此。
The same happens with Visual Studio 2017 Enterprise.
如何解决这个问题?
谢谢!
祝你好运,
Christoph
Christoph
推荐答案
这篇关于Visual Studio 2017 Professional / Enterprise Layout安装失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!