'Error when trying to install monogame (Exception from HRESULT: 0x80131040). How to fix it?

tried to install monogame 3.8 in full accordance with the website instructions: https://docs.monogame.net/articles/getting_started/0_getting_started.html While installing I get this error:

Failed to load file or assembly 'Microsoft.VisualStudio.Validation, Version=15.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The found assembly manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Full text of the log, if necessary:

28.04.2022 7:54:37 - Microsoft VSIX Installer 28.04.2022 7:54:37 - ------------------------------------------- 28.04.2022 7:54:37 - vsixinstaller.exe version: 28.04.2022 7:54:37 - 16.10.1056 28.04.2022 7:54:37 - ------------------------------------------- 28.04.2022 7:54:37 - Command line parameters: 28.04.2022 7:54:37 - C:\Program Files (x86)\vs\Microsoft Visual Studio\2019\Community\Common7\IDE\vsixinstaller.exe,/appidinstallpath:C:\Program Files (x86)\vs\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe,/skuName:Community,/skuVersion:16.10.31424.327,/appidname:Microsoft Visual Studio Community 2019,/culture:ru-RU,/noep,C:\Users\pauk naprimer\AppData\Local\Temp\VSIXazuynwyc.vsix 28.04.2022 7:54:37 - ------------------------------------------- 28.04.2022 7:54:37 - Microsoft VSIX Installer 28.04.2022 7:54:37 - ------------------------------------------- 28.04.2022 7:54:37 - System.IO.FileLoadException: Не удалось загрузить файл или сборку "Microsoft.VisualStudio.Validation, Version=15.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" либо одну из их зависимостей. Найденное определение манифеста сборки не соответствует ссылке на сборку. (Исключение из HRESULT: 0x80131040) Имя файла: 'Microsoft.VisualStudio.Validation, Version=15.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' в VSIXInstaller.SupportedSKUs.AddInstalledIsolatedShells(Version vsVersion, IntPtr userToken) в VSIXInstaller.SupportedSKUs.InitializeSupportedSKUs(IntPtr userToken) в VSIXInstaller.ExtensionService.InitializeSupportedSKUs(ICommandLineData cmdLineData, IntPtr duplicatedUserToken) в VSIXInstaller.App.Initialize(Boolean isRepairSupported) в VSIXInstaller.App.Initialize() в System.Threading.Tasks.Task`1.InnerInvoke() в System.Threading.Tasks.Task.Execute() --- Конец трассировка стека из предыдущего расположения, где возникло исключение --- в Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)

Предупреждение: регистрация привязки сборок выключена. Чтобы включить регистрацию ошибок привязки сборок, установите значение параметра реестра [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) в 1. Примечание. Регистрация ошибок привязки сборок может привести к некоторому снижению производительности. Чтобы отключить эту функцию, удалите параметр реестра [HKLM\Software\Microsoft\Fusion!EnableLog].

The error occurs at the stage of installing monogame through Manage Extensions, immediately after shutting down VS. I absolutely do not understand what is required of me to solve this problem.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source