安装VS2015 DotNetCore RC2

时间:2016-06-10 03:35:23

标签: visual-studio-2015 install .net-core-rc2

我想将Aspnet5 rc1更新为DotNetcode RC2。我无法卸载rc1。如果我安装rc3,我会收到以下错误:

这是日志:

[0584:098C][2016-06-09T23:30:46]e000: Error 0x80070642: Failed attempt to download URL: 'https://download.microsoft.com/download/4/6/1/46116DFF-29F9-4FF8-94BF-F9BE05BE263B/packages/AspNetCoreLocalFeed_rc2_14.msi' to: 'C:\Users\user\AppData\Local\Temp\{486C853B-822E-452D-9046-814A51B05A27}\AspNetCoreLocalFeed'
[0584:098C][2016-06-09T23:30:46]e000: Error 0x80070642: Failed to acquire payload from: 'https://download.microsoft.com/download/4/6/1/46116DFF-29F9-4FF8-94BF-F9BE05BE263B/packages/AspNetCoreLocalFeed_rc2_14.msi' to working path: 'C:\Users\user\AppData\Local\Temp\{486C853B-822E-452D-9046-814A51B05A27}\AspNetCoreLocalFeed'
[0584:098C][2016-06-09T23:30:46]e313: Failed to acquire payload: AspNetCoreLocalFeed to working path: C:\Users\user\AppData\Local\Temp\{486C853B-822E-452D-9046-814A51B05A27}\AspNetCoreLocalFeed, error: 0x80070642.
[3208:146C][2016-06-09T23:30:46]i351: Removing cached package: Preparation_Uninstall_ASPNET, from path: C:\ProgramData\Package Cache\d61fae17-5f78-3fe8-8203-ded682de23e3\
[3208:146C][2016-06-09T23:30:46]i351: Removing cached package: SetupBlocked_Install, from path: C:\ProgramData\Package Cache\ff930c3d-5c12-31e7-bf69-57d7bd4b56db\
[3208:0A94][2016-06-09T23:30:46]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{22041006-8484-4b8d-a13c-40189695de2f}, resume: ARP, restart: None, disable resume: No
[3208:0A94][2016-06-09T23:30:46]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{22041006-8484-4b8d-a13c-40189695de2f}, resume: ARP, restart initiated: No, disable resume: No
[0584:303C][2016-06-09T23:30:46]i399: Apply complete, result: 0x80070666, restart: None, ba requested restart:  No

我有rc1,我无法卸载它。这是相同的日志。

[2E30:28F8][2016-06-09T23:33:54]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{ce3f8ea8-1d35-48c9-a8c2-dd3011cd434b}, resume: Active, restart initiated: No, disable resume: No
[336C:2A04][2016-06-09T23:33:54]i336: Acquiring container: WixAttachedContainer, copy from: C:\ProgramData\Package Cache\{ce3f8ea8-1d35-48c9-a8c2-dd3011cd434b}\AspNet5.ENU.RC1_Update1_KB3137909.exe
[336C:07E4][2016-06-09T23:33:54]e000: Error 0x80070001: Failed to extract all files from container, erf: 1:2:0
[336C:2A04][2016-06-09T23:33:54]e000: Error 0x80070001: Failed to wait for operation complete.
[336C:2A04][2016-06-09T23:33:54]e000: Error 0x80070001: Failed to open container.
[336C:2A04][2016-06-09T23:33:54]e000: Error 0x80070001: Failed to open container: WixAttachedContainer.
[336C:2A04][2016-06-09T23:33:54]e312: Failed to extract payloads from container: WixAttachedContainer to working path: C:\Users\user\AppData\Local\Temp\{ce3f8ea8-1d35-48c9-a8c2-dd3011cd434b}\5EC497D30F70028E227BD065DF4547A6F024E1E1, error: 0x80070001.
[336C:21E8][2016-06-09T23:33:54]e000: Error 0x80070001: Failed while caching, aborting execution.
[2E30:28F8][2016-06-09T23:33:54]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{ce3f8ea8-1d35-48c9-a8c2-dd3011cd434b}, resume: ARP, restart: None, disable resume: No
[2E30:28F8][2016-06-09T23:33:54]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{ce3f8ea8-1d35-48c9-a8c2-dd3011cd434b}, resume: ARP, restart initiated: No, disable resume: No
[336C:21E8][2016-06-09T23:33:54]i399: Apply complete, result: 0x80070001, restart: None, ba requested restart:  No

感谢任何帮助。谢谢!

1 个答案:

答案 0 :(得分:4)

它也可能与VS 2015 Update 3有关。如果您先安装了Update 3,那么known issue表示无法删除与VC ++可再发行组件相关的注册表项。

您需要进入“程序和功能”并右键单击 - >更改 - >修复最新的Visual C ++ 2015可再发行组件(版本14.0.24123)的x64和x86版本

这对我有用,然后我就能成功安装.net核心RC 2和VS工具预览。