Xavalon / XamlStyler

Visual Studio extension to help format your XAML source code
Apache License 2.0
1.21k stars 130 forks source link

BUG in VS2019 I can't Update or Uninstall VS2019. #322

Open FredLaffitte opened 3 years ago

FredLaffitte commented 3 years ago

Good afternoon!

Today on morning, I tried to update my VS2019 Preview but I couldn't.

image

There are a information about a update available but when I try to update, I ran into this error.

image

I searched in the web for common bugs/errors with the GUID identified as the cause and I found this is about Xamstyler, but I didn't success in try to fix it following some posts and also those problems described into these posts I found, was with VS2017.

I looked at Issues section here and I not found any reference about a similar situation, so I'm here writing this request.

This BUG impacts in all operations, from a simple vsix install to any try to fix/reinstall/uninstall VS2019 Preview as well.

Please fix it or guide me how to do that without a needance to reinstall the entire OS.

Thanks in advance.

Best regards.

FredLaffitte commented 3 years ago

I try to reinstall the XAML Styler VSIX with failure.

Please, check de logs.

Thanks in advance.

Best regards.

dd_VSIXInstaller_20210131160411_6468.log

FredLaffitte commented 3 years ago

Hi again.

I have the Windows 10 SDK in other directory, is mandatory to have it under AppData? The default installation use %programfiles(x86)% as path. Maybe this is the issue?

31/01/2021 16:20:19 - Found 'C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\Microsoft\Windows Kits\10\Desktop SDK\extension.vsixmanifest' 31/01/2021 16:20:19 - Found 'C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\Microsoft\Windows Kits\10\SDK ARM Additions\extension.vsixmanifest' 31/01/2021 16:20:19 - Found 'C:\PROGRAM FILES (X86)\COMMON FILES\MICROSOFT\EXTENSIONMANAGER\EXTENSIONS\Microsoft\Windows Kits\10\Windows Store SDK\extension.vsixmanifest' 31/01/2021 16:20:19 - Skipping 'C:\Users\Usuario\AppData\Local\Microsoft SDKs' as it doesn't exist 31/01/2021 16:20:19 - A extensão com a ID "0c572937-0d4a-48cc-aa3f-875ffa9805ba" não foi instalada no Microsoft Visual Studio Enterprise 2019. 31/01/2021 16:20:21 - Microsoft.VisualStudio.ExtensionManager.CorruptInstanceException: O Instalador do VSIX encontrou um problema. Para solucionar problemas, siga estas etapas: https://aka.ms/pc5ifb ---> Microsoft.VisualStudio.Setup.Dependencies.DependencyGraphConstructionException: Não é possível encontrar o pacote dependente de 'Microsoft.VisualStudio.Product.Enterprise,version=16.9.30803.129': Component.0c572937-0d4a-48cc-aa3f-875ffa9805ba,version=3.2008.4. em Microsoft.VisualStudio.Setup.Engine.Initialize() em Microsoft.VisualStudio.Setup.Engine.GetProducts() em Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.IntializePackages() em Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.GetPrerequisitesInternal(IInstallableExtension extension, ICollection1 installedPackages, ICollection1 installablePackages, ICollection1 unresolvedReferences) em Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.GetPrerequisites(IInstallableExtension extension, IEnumerable1& installedPackages, IEnumerable1& installablePackages, IEnumerable1& unresolvedReferences) em VSIXInstaller.ExtensionService.GetInstallableDataImpl(IInstallableExtension extension, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable1& skuData) --- Fim do rastreamento de pilha do local anterior onde a exceção foi gerada --- em Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject) --- Fim do rastreamento de pilha de exceções internas --- em VSIXInstaller.ExtensionService.GetInstallableDataImpl(IInstallableExtension extension, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable1& skuData) em VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable1& skuData) em VSIXInstaller.ExtensionService.ComputeInstallableExtensions(IStateData stateData, Boolean isRepairSupported, Boolean isExtensionPack, IDictionary2 skuDataMapping, IList1 installableExtensionsPaths) em VSIXInstaller.App.Initialize(Boolean isRepairSupported) em VSIXInstaller.App.Initialize() em System.Threading.Tasks.Task1.InnerInvoke() em System.Threading.Tasks.Task.Execute()

Thanks in advance.

Best regards.

twelve-cgn commented 2 years ago

Same here in VS 2022