Eric Peters
Eric Peters

Reputation: 31

Cannot install in Visual Studio 2022

I get a notification telling me this is available in Visual Studio 2022 (Version 17.0.0 Preview 4.1). However, it will not install - any advice?

The errorlog shows the following:

10/1/2021 8:06:19 AM - A cycle was detected in the dependency graph: 
  Microsoft.VisualStudio.ComponentGroup.UWP.VC
  ---> Microsoft.VisualStudio.ComponentGroup.UWP.VC
10/1/2021 8:06:19 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)

Upvotes: 0

Views: 1227

Answers (1)

IInspectable
IInspectable

Reputation: 51506

This is a known issue with the C++/WinRT VSIX and Visual Studio 2022 Preview 4.1:

At this time it has not been officially described, what the issue is, which team will need to resolve it or when we can expect to receive an update.

Upvotes: 1

Related Questions