我正在尝试使用.NET核心在禁止从互联网上下载任何内容的虚拟机上工作。看来安装程序DotNetCore.1.0.1-VS2015Tools.Preview2.0.3.exe需要一个iis express软件包,它不能下载。该软件包是:Visual Studio工具 - 错误安装.NET Core 1.0.1
我可以手动下载这个包并安装它,但VS2015工具安装程序仍然失败。我猜它先卸载所有的ASP,然后重新安装这个软件包。 (上一步是“Preparation_Uninstall_ASPNET”)
有关如何解决此问题的任何想法?
下面是安装日志的缩写版本:
[1064:11B8][2016-12-06T14:59:24]i001: Burn v3.10.3.3007, Windows v6.3 (Build 9600: Service Pack 0), path: C:\Users\3174400\AppData\Local\Temp\2\{C8F58DC9-B00E-4238-B5B3-613D0F1FD16E}\.cr\DotNetCore.1.0.1-VS2015Tools.Preview2.0.3.exe
...many lines omitted...
[0B0C:0FC0][2016-12-06T15:04:23]i305: Verified acquired payload: Preparation_Uninstall_ASPNET at path: C:\ProgramData\Package Cache\.unverified\Preparation_Uninstall_ASPNET, moving to: C:\ProgramData\Package Cache\50e2672c-aefb-300c-8301-d8ebba628476\Preparation_69.exe.
[13C8:1134][2016-12-06T15:04:23]w343: Prompt for source of package: ANCM_IISExpress_x64, payload: ANCM_IISExpress_x64, path: D:\Installers\Core\packages\ancm_iis_express_x64_en_69.msi
[13C8:1134][2016-12-06T15:04:23]i338: Acquiring package: ANCM_IISExpress_x64, payload: ANCM_IISExpress_x64, download from: https://download.microsoft.com/download/F/6/E/F6ECBBCC-B02F-424E-8E03-D47E9FA631B7/packages/ancm_iis_express_x64_en_69.msi
[13C8:0B2C][2016-12-06T15:04:23]i319: Applied execute package: SetupBlocked_Install, result: 0x0, restart: None
[0B0C:13D0][2016-12-06T15:04:23]i301: Applying execute package: Preparation_Uninstall_ASPNET, action: Install, path: C:\ProgramData\Package Cache\50e2672c-aefb-300c-8301-d8ebba628476\Preparation_69.exe, arguments: '"C:\ProgramData\Package Cache\50e2672c-aefb-300c-8301-d8ebba628476\Preparation_69.exe" /d'
[13C8:0B2C][2016-12-06T15:04:23]i319: Applied execute package: Preparation_Uninstall_ASPNET, result: 0x0, restart: None
[13C8:1134][2016-12-06T15:04:40]e000: Error 0x80072efd: Failed to send request to URL: https://download.microsoft.com/download/F/6/E/F6ECBBCC-B02F-424E-8E03-D47E9FA631B7/packages/ancm_iis_express_x64_en_69.msi, trying to process HTTP status code anyway.
[13C8:1134][2016-12-06T15:04:40]e000: Error 0x80072efd: Unknown HTTP status code 0, returned from URL: https://download.microsoft.com/download/F/6/E/F6ECBBCC-B02F-424E-8E03-D47E9FA631B7/packages/ancm_iis_express_x64_en_69.msi
...
working path: 'C:\Users\3174400\AppData\Local\Temp\2\{3817B9CE-FB46-471A-8ED3-9FA00C430E74}\ANCM_IISExpress_x64'
[13C8:1134][2016-12-06T15:05:52]e313: Failed to acquire payload: ANCM_IISExpress_x64 to working path: C:\Users\3174400\AppData\Local\Temp\2\{3817B9CE-FB46-471A-8ED3-9FA00C430E74}\ANCM_IISExpress_x64, error: 0x80072efd.
[0B0C:0FC0][2016-12-06T15:05:52]i351: Removing cached package: Preparation_Uninstall_ASPNET, from path: C:\ProgramData\Package Cache\50e2672c-aefb-300c-8301-d8ebba628476\
[0B0C:0FC0][2016-12-06T15:05:52]i351: Removing cached package: SetupBlocked_Install, from path: C:\ProgramData\Package Cache\f727b670-667c-3e6f-aafb-e48a72a2dea2\
[13C8:0B2C][2016-12-06T15:05:52]e000: Error 0x80072efd: Cache thread exited unexpectedly.
[0B0C:13D0][2016-12-06T15:05:52]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{da280276-4f5b-4918-8d40-20ca56dfa535}, resume: ARP, restart: None, disable resume: No
[0B0C:13D0][2016-12-06T15:05:52]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{da280276-4f5b-4918-8d40-20ca56dfa535}, resume: ARP, restart initiated: No, disable resume: No
[13C8:0B2C][2016-12-06T15:05:53]i399: Apply complete, result: 0x80072efd, restart: None, ba requested restart: No
有趣的错误是“[13C8:1134] [2016-12-06T15:04:40] E000:错误0x80072efd:... “
请注意,虚拟机没有互联网访问权限来提出下载请求。
谢谢,对不起,长的错误日志。