简体   繁体   中英

How do I fix updates to VS2022 preview 4 Upgrading 'C++/WinRT'

An update to the C++/WinRT fails with the following diagnostic output,

10/1/2021 11:33:33 AM - Beginning to install extension to Microsoft Visual Studio Community 2022...
10/1/2021 11:33:33 AM - Upgrading 'C++/WinRT', version 2.0.210806.1 to version 2.0.210930.14.
10/1/2021 11:33:33 AM - VSIX TaskScheduler: VSIX Update Configuration task has not been successfully registered.
10/1/2021 11:33:33 AM - No mapping between account names and security IDs was done
10/1/2021 11:33:35 AM - A cycle was detected in the dependency graph: 
  Microsoft.VisualStudio.ComponentGroup.UWP.VC
  ---> Microsoft.VisualStudio.ComponentGroup.UWP.VC
10/1/2021 11:33:35 AM - Install Error :     Microsoft.VisualStudio.Setup.Dependencies.DependencyGraphConstructionException: A cycle was detected in the     dependency graph: 
  Microsoft.VisualStudio.ComponentGroup.UWP.VC
  ---> Microsoft.VisualStudio.ComponentGroup.UWP.VC
   at Microsoft.VisualStudio.Setup.Engine.GetProductDependencyGraph(Product product, Boolean overwrite)
   at Microsoft.VisualStudio.ExtensionManager.SetupEngineService.get_GetProductDependencyGraph()
   at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.PerformSetupEngineInstall(InstallableExtensionImpl extension, Boolean installPerMachine, Boolean isPackComponent, IDictionary`2 extensionsInstalledSoFar, List`1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, IProgress`1 progress, InstallFlags installFlags, AsyncOperation asyncOp, Version targetedVsVersion, IInstalledExtension& newExtension)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.InstallInternal(InstallableExtensionImpl extension, InstallFlags installFlags, IDictionary`2 extensionsInstalledSoFar, List`1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, AsyncOperation asyncOp, IProgress`1 progress, Version targetedVsVersion)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.BeginInstall(IInstallableExtension installableExtension, InstallFlags installFlags, AsyncOperation asyncOp, Version targetedVsVersion)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.InstallWorker(IInstallableExtension extension, InstallFlags installFlags, AsyncOperation asyncOp)

I got the same error. Now I'm on Preview 7. VS constantly bugging me with this update, but update fails.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM