简体   繁体   English

脱机安装Visual Studio 2017 Update 2(26430.04)失败

[英]Offline installation of Visual Studio 2017 Update 2 (26430.04) fails

I'm running the command mu_visual_studio_enterprise_2017_x86_x64_10049783.exe --layout c:\\vs2017offline --lang en-US to create an offline Visual Studio 2017 installer with the latest update 15.2 (26430.04). 我正在运行命令mu_visual_studio_enterprise_2017_x86_x64_10049783.exe --layout c:\\vs2017offline --lang en-US创建具有最新更新15.2(26430.04)的脱机Visual Studio 2017安装程序。 I have followed the instructions for offline installation and imported the certs etc. Still, on a machine without internet connection the installation fails. 我已经按照说明进行了脱机安装并导入了证书等。但是,在没有互联网连接的计算机上,安装失败。 This has caused me major headaches as the failed installation corrupted my dev machine. 由于失败的安装损坏了我的开发机,这使我头疼不已。 Installation log attached below: 安装日志如下:

The product failed to install the listed workloads and components due to one or more package failures. 由于一个或多个软件包故障,产品无法安装列出的工作负载和组件。 Incomplete workloads .NET Core cross-platform development (Microsoft.VisualStudio.Workload.NetCoreTools,version=15.0.26323.1) .NET desktop development (Microsoft.VisualStudio.Workload.ManagedDesktop,version=15.0.26412.1) ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15.0.26412.1) Azure development (Microsoft.VisualStudio.Workload.Azure,version=15.0.26412.1) Data storage and processing (Microsoft.VisualStudio.Workload.Data,version=15.0.26208.0) Universal Windows Platform development (Microsoft.VisualStudio.Workload.Universal,version=15.0.26403.0) Incomplete components .NET desktop development tools (Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites,version=15.0.26323.1) ASP.NET and web development tools (Microsoft.VisualStudio.Component.Web,version=15.0.26323.1) Azure Cloud Services core tools (Microsoft.VisualStudio.Component.Azure.Waverton,version=15.0.26208.0) Azure Cloud Services tools (Microsoft.VisualStudio.ComponentGroup.Azure.CloudServic 不完整的工作负载.NET Core跨平台开发(Microsoft.VisualStudio.Workload.NetCoreTools,version = 15.0.26323.1).NET桌面开发(Microsoft.VisualStudio.Workload.ManagedDesktop,version = 15.0.26412.1)ASP.NET和Web开发( Microsoft.VisualStudio.Workload.NetWeb,version = 15.0.26412.1)Azure开发(Microsoft.VisualStudio.Workload.Azure,version = 15.0.26412.1)数据存储和处理(Microsoft.VisualStudio.Workload.Data,version = 15.0.26208.0)通用Windows平台开发(Microsoft.VisualStudio.Workload.Universal,version = 15.0.26403.0)不完整的组件.NET桌面开发工具(Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites,version = 15.0.26323.1)ASP.NET和Web开发工具(Microsoft.VisualStudio.Component.Web,版本= 15.0.26323.1)Azure云服务核心工具(Microsoft.VisualStudio.Component.Azure.Waverton,版本= 15.0.26208.0)Azure云服务工具(Microsoft.VisualStudio.ComponentGroup.Azure。 CloudServic es,version=15.0.26208.0) Azure Data Lake Tools (Microsoft.Component.Azure.DataLake.Tools,version=15.0.26208.0) Azure development prerequisites (Microsoft.VisualStudio.ComponentGroup.Azure.Prerequisites,version=15.0.26323.1) Azure Resource Manager core tools (Microsoft.VisualStudio.Component.Azure.ResourceManager.Tools,version=15.0.26208.0) Azure Resource Manager tools (Microsoft.VisualStudio.ComponentGroup.Azure.ResourceManager.Tools,version=15.0.26323.1) C# and Visual Basic (Microsoft.VisualStudio.Component.Roslyn.LanguageServices,version=15.0.26208.0) Data sources for SQL Server support (Microsoft.VisualStudio.Component.SQL.DataSources,version=15.0.26208.0) Live Unit Testing (Microsoft.VisualStudio.Component.LiveUnitTesting,version=15.0.26208.0) Managed Desktop Workload Core (Microsoft.VisualStudio.Component.ManagedDesktop.Core,version=15.0.26419.1) Microsoft Test Manager (Microsoft.VisualStudio.Component.TestTools.MicrosoftTestManager,version=15.0.26228.0) OzCode (Component.6c84f75d es,version = 15.0.26208.0)Azure Data Lake工具(Microsoft.Component.Azure.DataLake.Tools,version = 15.0.26208.0)Azure开发先决条件(Microsoft.VisualStudio.ComponentGroup.Azure.Prerequisites,version = 15.0.26323.1)Azure资源管理器核心工具(Microsoft.VisualStudio.Component.Azure.ResourceManager.Tools,version = 15.0.26208.0)Azure资源管理器工具(Microsoft.VisualStudio.ComponentGroup.Azure.ResourceManager.Tools,version = 15.0.26323.1)C#和Visual Basic (Microsoft.VisualStudio.Component.Roslyn.LanguageServices,版本= 15.0.26208.0)SQL Server支持的数据源(Microsoft.VisualStudio.Component.SQL.DataSources,版本= 15.0.26208.0)实时单元测试(Microsoft.VisualStudio.Component。 LiveUnitTesting,version = 15.0.26208.0)托管桌面工作负载核心(Microsoft.VisualStudio.Component.ManagedDesktop.Core,version = 15.0.26419.1)Microsoft测试管理器(Microsoft.VisualStudio.Component.TestTools.MicrosoftTestManager,version = 15.0.26228.0)OzCode (Component.6c84f75d -38c3-48a2-9e54-d362238686b5,version=3.0.0.3597) PowerShell Tools for Visual Studio 2017 (Component.PowerShellTools.VS2017,version=3.0.539) ReadyRoll for VS2017 (Component.Redgate.ReadyRoll,version=1.13.23.3401) SQL Prompt Core (Component.Redgate.SQLPrompt.VsPackage,version=7.5.1.1087) SQL Search (Component.Redgate.SQLSearch.VSExtension,version=2.4.2.1321) SQL Server Data Tools (Microsoft.VisualStudio.Component.SQL.SSDT,version=15.0.26208.0) Testing tools core features (Microsoft.VisualStudio.Component.TestTools.Core,version=15.0.26208.0) Universal Windows Platform tools (Microsoft.VisualStudio.Component.UWP.Support,version=15.0.26412.1) Universal Windows Platform tools for Xamarin (Microsoft.VisualStudio.ComponentGroup.UWP.Xamarin,version=15.0.26403.0) Web performance and load testing tools (Microsoft.VisualStudio.Component.TestTools.WebLoadTest,version=15.0.26208.0) Windows Communication Foundation (Microsoft.VisualStudio.Component.Wcf.Tooling,version=15.0.26208.0) Windows Workflow F -38c3-48a2-9e54-d362238686b5,版本= 3.0.0.3597)适用于Visual Studio 2017的PowerShell工具(Component.PowerShellTools.VS2017,版本= 3.0.539)适用于VS2017的ReadyRoll(Component.Redgate.ReadyRoll,版本= 1.13.23.3401) SQL提示核心(Component.Redgate.SQLPrompt.VsPackage,version = 7.5.1.1087)SQL Search(Component.Redgate.SQLSearch.VSExtension,version = 2.4.2.1321)SQL Server数据工具(Microsoft.VisualStudio.Component.SQL.SSDT,版本= 15.0.26208.0)测试工具的核心功能(Microsoft.VisualStudio.Component.TestTools.Core,version = 15.0.26208.0)通用Windows平台工具(Microsoft.VisualStudio.Component.UWP.Support,version = 15.0.26412.1)通用Windows Xamarin的平台工具(Microsoft.VisualStudio.ComponentGroup.UWP.Xamarin,版本= 15.0.26403.0)Web性能和负载测试工具(Microsoft.VisualStudio.Component.TestTools.WebLoadTest,版本= 15.0.26208.0)Windows Communication Foundation(Microsoft。 VisualStudio.Component.Wcf.Tooling,version = 15.0.26208.0)Windows工作流F oundation (Microsoft.VisualStudio.Component.Workflow,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. 边界(Microsoft.VisualStudio.Component.Workflow,version = 15.0.26208.0)您可以使用以下信息搜索解决方案,修改上述工作负载和组件的选择,然后重试安装,或从计算机中删除产品。 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. 要搜索有关这些特定问题的现有报告,请复制每个程序包失败的URL并将其粘贴到Web浏览器中。 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.CodeAnalysis.VisualStudio.InteractiveComponents.Resources,version=15.0.26412.1,language=en-US' failed to download from ' https://download.microsoft.com/download/1/9/A/19A9B545-B70C-4B0E-871D-CEF22A55E2A8/microsoft.codeanalysis.visualstudio.interactivecomponents.resources.vsix '. 软件包'Microsoft.CodeAnalysis.VisualStudio.InteractiveComponents.Resources,version = 15.0.26412.1,language = zh-CN'无法从' https://download.microsoft.com/download/1/9/A/19A9B545-B70C下载-4B0E-871D-CEF22A55E2A8 / microsoft.codeanalysis.visualstudio.interactivecomponents.resources.vsix '。 Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.CodeAnalysis.VisualStudio.InteractiveComponents.Resources;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 Impacted workloads .NET Core cross-platform development (Microsoft.VisualStudio.Workload.NetCoreTools,version=15.0.26323.1) .NET desktop development (Microsoft.VisualStudio.Workload.ManagedDesktop,version=15.0.26412.1) ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15.0.26412.1) Azure development (Microsoft.VisualStudio.Workload.Azure,version=15.0.26412.1) Data storage and processing (Microsoft.VisualStudio.Workload.Data,version=15.0.26208.0) Universal Windows Platform development (Microsoft.VisualStudio.Workload.Universal,version=15.0.26403.0) Impacted components .NET desktop development tools (Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites,version=15.0.26323.1) ASP.NET and web development tools (Microsoft.VisualStudio.Component.Web,version=15.0.26323.1) Azure Cloud 搜索URL: https: //aka.ms/VSSetupErrorReports ? q = PackageId = Microsoft.CodeAnalysis.VisualStudio.InteractiveComponents.Resources;PackageAction = DownloadPackage;ReturnCode = 0x80072ee7受影响的工作负载.NET Core跨平台开发(Microsoft.VisualStudio.Workload。 NetCoreTools,version = 15.0.26323.1).NET桌面开发(Microsoft.VisualStudio.Workload.ManagedDesktop,version = 15.0.26412.1)ASP.NET和Web开发(Microsoft.VisualStudio.Workload.NetWeb,version = 15.0.26412.1)Azure开发(Microsoft.VisualStudio.Workload.Azure,version = 15.0.26412.1)数据存储和处理(Microsoft.VisualStudio.Workload.Data,version = 15.0.26208.0)通用Windows平台开发(Microsoft.VisualStudio.Workload.Universal,version = 15.0) .26403.0)受影响的组件.NET桌面开发工具(Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites,version = 15.0.26323.1)ASP.NET和Web开发工具(Microsoft.VisualStudio.Component.Web,version = 15.0.26323.1)Azure云 Services core tools (Microsoft.VisualStudio.Component.Azure.Waverton,version=15.0.26208.0) Azure Cloud Services tools (Microsoft.VisualStudio.ComponentGroup.Azure.CloudServices,version=15.0.26208.0) Azure Data Lake Tools (Microsoft.Component.Azure.DataLake.Tools,version=15.0.26208.0) Azure Resource Manager core tools (Microsoft.VisualStudio.Component.Azure.ResourceManager.Tools,version=15.0.26208.0) Azure Resource Manager tools (Microsoft.VisualStudio.ComponentGroup.Azure.ResourceManager.Tools,version=15.0.26323.1) C# and Visual Basic (Microsoft.VisualStudio.Component.Roslyn.LanguageServices,version=15.0.26208.0) Data sources for SQL Server support (Microsoft.VisualStudio.Component.SQL.DataSources,version=15.0.26208.0) Live Unit Testing (Microsoft.VisualStudio.Component.LiveUnitTesting,version=15.0.26208.0) Managed Desktop Workload Core (Microsoft.VisualStudio.Component.ManagedDesktop.Core,version=15.0.26419.1) OzCode (Component.6c84f75d-38c3-48a2-9e54-d362238686b5,version=3.0.0.3597) 服务核心工具(Microsoft.VisualStudio.Component.Azure.Waverton,version = 15.0.26208.0)Azure云服务工具(Microsoft.VisualStudio.ComponentGroup.Azure.CloudServices,version = 15.0.26208.0)Azure Data Lake工具(Microsoft.Component。 Azure.DataLake.Tools,version = 15.0.26208.0)Azure资源管理器核心工具(Microsoft.VisualStudio.Component.Azure.ResourceManager.Tools,version = 15.0.26208.0)Azure资源管理器工具(Microsoft.VisualStudio.ComponentGroup.Azure.ResourceManager .Tools,version = 15.0.26323.1)C#和Visual Basic(Microsoft.VisualStudio.Component.Roslyn.LanguageServices,version = 15.0.26208.0)SQL Server支持的数据源(Microsoft.VisualStudio.Component.SQL.DataSources,version = 15.0 .26208.0)实时单元测试(Microsoft.VisualStudio.Component.LiveUnitTesting,version = 15.0.26208.0)托管桌面工作负载核心(Microsoft.VisualStudio.Component.ManagedDesktop.Core,version = 15.0.26419.1)OzCode(Component.6c84f75d-38c3- 48a2-9e54-d362238686b5,版本= 3.0.0.3597) PowerShell Tools for Visual Studio 2017 (Component.PowerShellTools.VS2017,version=3.0.539) ReadyRoll for VS2017 (Component.Redgate.ReadyRoll,version=1.13.23.3401) SQL Prompt Core (Component.Redgate.SQLPrompt.VsPackage,version=7.5.1.1087) SQL Search (Component.Redgate.SQLSearch.VSExtension,version=2.4.2.1321) SQL Server Data Tools (Microsoft.VisualStudio.Component.SQL.SSDT,version=15.0.26208.0) Universal Windows Platform tools (Microsoft.VisualStudio.Component.UWP.Support,version=15.0.26412.1) Web performance and load testing tools (Microsoft.VisualStudio.Component.TestTools.WebLoadTest,version=15.0.26208.0) Windows Communication Foundation (Microsoft.VisualStudio.Component.Wcf.Tooling,version=15.0.26208.0) Windows Workflow Foundation (Microsoft.VisualStudio.Component.Workflow,version=15.0.26208.0) Details WebClient download failed: The remote name could not be resolved: 'download.microsoft.com' Bits download failed: File not found. 适用于Visual Studio 2017的PowerShell工具(Component.PowerShellTools.VS2017,version = 3.0.539)适用于VS2017的ReadyRoll(Component.Redgate.ReadyRoll,version = 1.13.23.3401)SQL提示核心(Component.Redgate.SQLPrompt.VsPackage,version = 7.5 .1.1087)SQL搜索(Component.Redgate.SQLSearch.VSExtension,版本= 2.4.2.1321)SQL Server数据工具(Microsoft.VisualStudio.Component.SQL.SSDT,版本= 15.0.26208.0)通用Windows平台工具(Microsoft.VisualStudio。 Component.UWP.Support,version = 15.0.26412.1)Web性能和负载测试工具(Microsoft.VisualStudio.Component.TestTools.WebLoadTest,version = 15.0.26208.0)Windows Communication Foundation(Microsoft.VisualStudio.Component.Wcf.Tooling,version = 15.0.26208.0)Windows Workflow Foundation(Microsoft.VisualStudio.Component.Workflow,版本= 15.0.26208.0)详细信息WebClient下载失败:远程名称无法解析:'download.microsoft.com'位下载失败:找不到文件。 WinInet download failed: Function: InternetOpenUrl, HR: -2147012889, Message: Unknown error 12007 Package 'Microsoft.VisualStudio.TestTools.TestPlatform.Legacy.Core.Resources,version=15.0.26424.2,language=en-US' failed to download from ' https://download.microsoft.com/download/D/3/0/D3037781-3854-46BA-B6BC-7744B2A41FF1/microsoft.visualstudio.testtools.testplatform.legacy.core.resources.vsix '. WinInet下载失败:功能:InternetOpenUrl,HR:-2147012889,消息:未知错误12007程序包'Microsoft.VisualStudio.TestTools.TestPlatform.Legacy.Core.Resources,version = 15.0.26424.2,language = zh-CN'无法从中下载' https://download.microsoft.com/download/D/3/0/D3037781-3854-46BA-B6BC-7744B2A41FF1/microsoft.visualstudio.testtools.testplatform.legacy.core.resources.vsix '。 Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.TestTools.TestPlatform.Legacy.Core.Resources;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 Impacted workloads .NET Core cross-platform development (Microsoft.VisualStudio.Workload.NetCoreTools,version=15.0.26323.1) .NET desktop development (Microsoft.VisualStudio.Workload.ManagedDesktop,version=15.0.26412.1) ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15.0.26412.1) Azure development (Microsoft.VisualStudio.Workload.Azure,version=15.0.26412.1) Data storage and processing (Microsoft.VisualStudio.Workload.Data,version=15.0.26208.0) Universal Windows Platform development (Microsoft.VisualStudio.Workload.Universal,version=15.0.26403.0) Impacted components .NET desktop development tools (Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites,version=15.0.26323.1) ASP.NET and web development tools (Microsoft.VisualStudio.Component.Web,version=15.0.26323.1) Azure Cloud 搜索URL: https: //aka.ms/VSSetupErrorReports ? q = PackageId = Microsoft.VisualStudio.TestTools.TestPlatform.Legacy.Core.Resources;PackageAction = DownloadPackage;ReturnCode = 0x80072ee7受影响的工作负载.NET Core跨平台开发(Microsoft。 VisualStudio.Workload.NetCoreTools,version = 15.0.26323.1).NET桌面开发(Microsoft.VisualStudio.Workload.ManagedDesktop,version = 15.0.26412.1)ASP.NET和Web开发(Microsoft.VisualStudio.Workload.NetWeb,version = 15.0)。 26412.1)Azure开发(Microsoft.VisualStudio.Workload.Azure,版本= 15.0.26412.1)数据存储和处理(Microsoft.VisualStudio.Workload.Data,版本= 15.0.26208.0)通用Windows平台开发(Microsoft.VisualStudio.Workload.Universal ,version = 15.0.26403.0)受影响的组件.NET桌面开发工具(Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites,version = 15.0.26323.1)ASP.NET和Web开发工具(Microsoft.VisualStudio.Component.Web,version = 15.0 .26323.1)Azure云 Services core tools (Microsoft.VisualStudio.Component.Azure.Waverton,version=15.0.26208.0) Azure Cloud Services tools (Microsoft.VisualStudio.ComponentGroup.Azure.CloudServices,version=15.0.26208.0) Azure Data Lake Tools (Microsoft.Component.Azure.DataLake.Tools,version=15.0.26208.0) Azure development prerequisites (Microsoft.VisualStudio.ComponentGroup.Azure.Prerequisites,version=15.0.26323.1) Azure Resource Manager core tools (Microsoft.VisualStudio.Component.Azure.ResourceManager.Tools,version=15.0.26208.0) Azure Resource Manager tools (Microsoft.VisualStudio.ComponentGroup.Azure.ResourceManager.Tools,version=15.0.26323.1) Data sources for SQL Server support (Microsoft.VisualStudio.Component.SQL.DataSources,version=15.0.26208.0) Managed Desktop Workload Core (Microsoft.VisualStudio.Component.ManagedDesktop.Core,version=15.0.26419.1) Microsoft Test Manager (Microsoft.VisualStudio.Component.TestTools.MicrosoftTestManager,version=15.0.26228.0) PowerShell Tools for Visual Studio 2017 ( 服务核心工具(Microsoft.VisualStudio.Component.Azure.Waverton,version = 15.0.26208.0)Azure云服务工具(Microsoft.VisualStudio.ComponentGroup.Azure.CloudServices,version = 15.0.26208.0)Azure Data Lake工具(Microsoft.Component。 Azure.DataLake.Tools,version = 15.0.26208.0)Azure开发先决条件(Microsoft.VisualStudio.ComponentGroup.Azure.Prerequisites,版本= 15.0.26323.1)Azure资源管理器核心工具(Microsoft.VisualStudio.Component.Azure.ResourceManager.Tools,版本= 15.0.26208.0)Azure资源管理器工具(Microsoft.VisualStudio.ComponentGroup.Azure.ResourceManager.Tools,版本= 15.0.26323.1)SQL Server支持的数据源(Microsoft.VisualStudio.Component.SQL.DataSources,版本= 15.0)。 26208.0)托管桌面工作负载核心(Microsoft.VisualStudio.Component.ManagedDesktop.Core,版本= 15.0.26419.1)Microsoft测试管理器(Microsoft.VisualStudio.Component.TestTools.MicrosoftTestManager,版本= 15.0.26228.0)适用于Visual Studio 2017的PowerShell工具( Component.PowerShellTools.VS2017,version=3.0.539) ReadyRoll for VS2017 (Component.Redgate.ReadyRoll,version=1.13.23.3401) SQL Prompt Core (Component.Redgate.SQLPrompt.VsPackage,version=7.5.1.1087) SQL Search (Component.Redgate.SQLSearch.VSExtension,version=2.4.2.1321) SQL Server Data Tools (Microsoft.VisualStudio.Component.SQL.SSDT,version=15.0.26208.0) Testing tools core features (Microsoft.VisualStudio.Component.TestTools.Core,version=15.0.26208.0) Universal Windows Platform tools (Microsoft.VisualStudio.Component.UWP.Support,version=15.0.26412.1) Universal Windows Platform tools for Xamarin (Microsoft.VisualStudio.ComponentGroup.UWP.Xamarin,version=15.0.26403.0) Web performance and load testing tools (Microsoft.VisualStudio.Component.TestTools.WebLoadTest,version=15.0.26208.0) Windows Workflow Foundation (Microsoft.VisualStudio.Component.Workflow,version=15.0.26208.0) Details WebClient download failed: The remote name could not be resolved: 'download.microsoft.com' Bits download fai Component.PowerShellTools.VS2017,version = 3.0.539)VS2017的ReadyRoll(Component.Redgate.ReadyRoll,version = 1.13.23.3401)SQL Prompt Core(Component.Redgate.SQLPrompt.VsPackage,version = 7.5.1.1087)SQL搜索(Component .Redgate.SQLSearch.VSExtension,version = 2.4.2.1321)SQL Server数据工具(Microsoft.VisualStudio.Component.SQL.SSDT,version = 15.0.26208.0)测试工具的核心功能(Microsoft.VisualStudio.Component.TestTools.Core,版本= 15.0.26208.0)通用Windows平台工具(Microsoft.VisualStudio.Component.UWP.Support,版本= 15.0.26412.1)适用于Xamarin的通用Windows平台工具(Microsoft.VisualStudio.ComponentGroup.UWP.Xamarin,版本= 15.0.26403.0)Web性能和负载测试工具(Microsoft.VisualStudio.Component.TestTools.WebLoadTest,version = 15.0.26208.0)Windows Workflow Foundation(Microsoft.VisualStudio.Component.Workflow,version = 15.0.26208.0)详细信息WebClient下载失败:远程名称无法解决:“ download.microsoft.com”位下载fai led: File not found. led:找不到文件。 WinInet download failed: Function: InternetOpenUrl, HR: -2147012889, Message: Unknown error 12007 Package 'Microsoft.VisualStudio.TestTools.TestManagement.MicrosoftTestManager.Resources,version=15.0.26424.2,language=en-US' failed to download from ' https://download.microsoft.com/download/6/3/5/635106B1-58AD-4D74-B069-9942F0654B95/MS.VS.TestTools.TestManagement.MSTestManager.Resources.vsix '. WinInet下载失败:功能:InternetOpenUrl,人力资源:-2147012889,消息:未知错误12007程序包'Microsoft.VisualStudio.TestTools.TestManagement.MicrosoftTestManager.Resources,version = 15.0.26424.2,language = zh-CN'无法从' https下载://download.microsoft.com/download/6/3/5/635106B1-58AD-4D74-B069-9942F0654B95/MS.VS.TestTools.TestManagement.MSTestManager.Resources.vsix '。 Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.TestTools.TestManagement.MicrosoftTestManager.Resources;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 Impacted components Microsoft Test Manager (Microsoft.VisualStudio.Component.TestTools.MicrosoftTestManager,version=15.0.26228.0) Details WebClient download failed: The remote name could not be resolved: 'download.microsoft.com' Bits download failed: File not found. 搜索URL: https: //aka.ms/VSSetupErrorReports ? q = PackageId = Microsoft.VisualStudio.TestTools.TestManagement.MicrosoftTestManager.Resources;PackageAction = DownloadPackage;ReturnCode = 0x80072ee7受影响的组件Microsoft测试管理器(Microsoft.VisualStudio.Component.TestTools。 MicrosoftTestManager,version = 15.0.26228.0)详细信息WebClient下载失败:远程名称无法解析:'download.microsoft.com'位下载失败:找不到文件。 WinInet download failed: Function: InternetOpenUrl, HR: -2147012889, Message: Unknown error 12007 WinInet下载失败:功能:InternetOpenUrl,HR:-2147012889,消息:未知错误12007

似乎您的离线布局命令中没有包括--includeRecommended--includeOptional参数,这是必需的,因为默认情况下它仅下载所需的软件包,不足以使安装脱机工作。

The problem is: The --layout switch should be used ONLY when downloading a new workload or updating one , which off-course need to be done online, which makes the above error. 问题是:仅在下载新工作负载或更新工作负载时才应使用--layout开关 ,因为离线需要在线完成,这会导致上述错误。

By just saying --layout you ask setup: "please update the components in this layout, I'm online now.", which 1st downlaod ~ 60MB file saying "Give us more time, we'll be done soon", then start updating. 只需说--layout要求安装程序:“请更新此布局中的组件,我现在在线。”,第一个下载〜60MB的文件说“给我们更多时间,我们会尽快完成”,然后开始更新。

When you want to setup vs2017: 当您想设置vs2017时:

  1. Open the 3 certificates in [layoutFolder]\\certificates , press enter or next on each dialog till you finish, don't change anything. [layoutFolder]\\certificates打开3个证书,在每个对话框上按Enter或next,直到完成,不要进行任何更改。

  2. Run [layoutFolder]\\vs_*.exe . 运行[layoutFolder]\\vs_*.exe

However, Its highly recommended to automate the run of vs_*.exe (for setup to choose the exactly Required components) like that: 但是,强烈建议您自动运行vs _ *。exe(以便安装程序选择完全必需的组件),如下所示:

.\\layout\\vs_setup.exe --add microsoft.visualstudio.workload.ManagedDesktop --nocache

You don't need to even specify: --lang en-US . 您甚至不需要指定:-- --lang en-US --nocache will save your C: from same-as-installed-workload-size additional GB's. --nocache将从相同的工作负载大小的其他GB中保存您的C --nocache

您可以手动下载https://download.microsoft.com/download/1/9/A/19A9B545-B70C-4B0E-871D-CEF22A55E2A8/microsoft.codeanalysis.visualstudio.interactivecomponents.resources.vsix并将其放入文件夹“ Microsoft.CodeAnalysis.VisualStudio.InteractiveComponents.Resources,version = 15.0.26412.1,language = zh-CN“,文件名必须为” microsoft.codeanalysis.visualstudio.interactivecomponents.resources.vsix“

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM