更新:我已经修复了它。请参见下面的答案 - Visual Studio 2015:在更新3失败后出现多个包加载错误:Windows 10
就是这样。
- 在 Windows 8 64 位上安装了带有 Update 2 的 Visual Studio 2015。一切都工作得很好。
- 将 Windows 8 升级到 Windows 10。Visual Studio 仍然可以正常使用,没有问题。
- 在通过设置添加 ClickOnce 工具时,Update 3 也被安装了。
一切都变得混乱不堪了。
活动日志 XML 如下:
461 ERROR Exception parsing Advertised (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.143
462 ERROR Exception parsing AssemblyFolders (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.143
463 ERROR Exception parsing Fusion (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.143
464 ERROR Exception parsing NGen (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.143
465 ERROR Exception parsing NGenQueue (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.143
466 ERROR Exception parsing policy (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.143
467 ERROR Exception parsing Windows Presentation Foundation (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.144
468 ERROR Exception parsing Advertised (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.144
469 ERROR Exception parsing AssemblyFolders (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.144
470 ERROR Exception parsing Fusion (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.144
471 ERROR Exception parsing NGen (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.144
472 ERROR Exception parsing NGenQueue (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.144
473 ERROR Exception parsing policy (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.144
474 ERROR Exception parsing Windows Presentation Foundation (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.152
475 ERROR Exception parsing Advertised (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.152
476 ERROR Exception parsing AssemblyFolders (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.152
477 ERROR Exception parsing Fusion (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.152
478 ERROR Exception parsing NGen (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.152
479 ERROR Exception parsing NGenQueue (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.152
480 ERROR Exception parsing policy (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.152
481 ERROR Exception parsing Windows Presentation Foundation (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.154
482 ERROR Exception parsing Advertised (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.154
483 ERROR Exception parsing AssemblyFolders (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.155
484 ERROR Exception parsing Fusion (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.155
485 ERROR Exception parsing NGen (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.155
486 ERROR Exception parsing NGenQueue (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.155
487 ERROR Exception parsing policy (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.155
488 ERROR Exception parsing Windows Presentation Foundation (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.155
489 ERROR Exception parsing Advertised (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.155
490 ERROR Exception parsing AssemblyFolders (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.155
491 ERROR Exception parsing Fusion (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.156
492 ERROR Exception parsing NGen (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.156
493 ERROR Exception parsing NGenQueue (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.156
494 ERROR Exception parsing policy (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.156
495 ERROR Exception parsing Windows Presentation Foundation (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.156
496 ERROR Exception parsing Advertised (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.156
497 ERROR Exception parsing AssemblyFolders (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.156
498 ERROR Exception parsing Fusion (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.156
499 ERROR Exception parsing NGen (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.156
500 ERROR Exception parsing NGenQueue (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.156
501 ERROR Exception parsing policy (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.156
502 ERROR Exception parsing Windows Presentation Foundation (under HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework) as a version Microsoft.VisualStudio.IDE.ToolboxControlsInstaller.ToolboxInstallerPackage 2016/08/02 09:38:18.157
503 Done loading new toolbox content, total time = 265 ms