visual-studio-2015 - 安装 VS2015 DotNetCore RC2

标签 visual-studio-2015 installation .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

感谢任何帮助。谢谢!

最佳答案

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

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

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

关于visual-studio-2015 - 安装 VS2015 DotNetCore RC2,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37739470/

相关文章:

c# - TypeBuilder 中缺少 CreateType。如何移植这个?

c# - Visual Studio 2015 Community Edition 下载新许可证失败

sql - SSDT Schema Compare不断为用户寻找差异?

visual-studio-2008 - VS2008安装项目中的自动驱动程序安装

java - 如何安装maven构建项目?

Perl 应用程序安装

python - SWIG 文件更改后如何重建项目?

visual-studio-2015 - 在 VS2015 中部署 UWP App 项目

c# - netstandard 1.5 中的 BinaryFormatter

c# - 大数组如何分配内存?