【发布时间】:2020-06-03 20:55:45
【问题描述】:
无论我尝试安装什么 VSIX,都会收到 HRESULT E_FAIL 错误。示例:当我打开 VS2019 时,我被告知我需要更新 Data Lake Services 和 LIve Share VSIX。我单击以更新两者,并且当我关闭所有 VS 窗口时会发生更新。当我关闭 VS2019 时,安装开始,我立即收到此错误。此外,如果我尝试安装任何新的 VSIX,我也会收到同样的错误。
我的 VS2019 已完全更新,我是管理员,并且连接正常。
8/18/2019 12:49:35 PM - Microsoft VSIX Installer
8/18/2019 12:49:35 PM - -------------------------------------------
8/18/2019 12:49:35 PM - vsixinstaller.exe version:
8/18/2019 12:49:35 PM - 16.2.3073
8/18/2019 12:49:35 PM - -------------------------------------------
8/18/2019 12:49:35 PM - Command line parameters:
8/18/2019 12:49:35 PM - C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\vsixinstaller.exe,/appidinstallpath:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe,/skuName:Community,/skuVersion:16.2.29209.62,/appidname:Microsoft Visual Studio Community 2019,/culture:en-US,/noep,C:\Users\borjeo\AppData\Local\Temp\VSIXcixtpa1i.vsix,C:\Users\borjeo\AppData\Local\Temp\VSIXpzsjnww4.vsix,C:\Users\borjeo\AppData\Local\Temp\VSIX2wlszo4g.vsix
8/18/2019 12:49:35 PM - -------------------------------------------
8/18/2019 12:49:35 PM - Microsoft VSIX Installer
8/18/2019 12:49:35 PM - -------------------------------------------
8/18/2019 12:49:36 PM - System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at Microsoft.VisualStudio.Setup.Configuration.ISetupInstance2.GetState()
at VSIXInstaller.SetupExtensions.GetLaunchableInstances(ISetupConfiguration2 configuration)
at VSIXInstaller.SupportedSKUs.EnumerateIsolatedInstalls(Action`1 callback)
at VSIXInstaller.SupportedSKUs.AddInstalledLocationBasedSKUs(IntPtr userToken)
at VSIXInstaller.SupportedSKUs.InitializeSupportedSKUs(IntPtr userToken)
at VSIXInstaller.ExtensionService.InitializeSupportedSKUs(ICommandLineData cmdLineData, IntPtr duplicatedUserToken)
at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
at VSIXInstaller.App.Initialize()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
【问题讨论】:
-
修复VS安装
-
我进行了修复安装,但遇到了同样的错误。