GDK icon indicating copy to clipboard operation
GDK copied to clipboard

Uninstall the October 2021 Visual Studio 2022 .vsix files before installing the March 2022 GDK

Open FLY1NGSQU1RR3L opened this issue 3 years ago • 0 comments

Issue If you manually installed the Visual Studio 2022 .vsix files that shipped alongside the October 2021 GDK, uninstall those files before you install the March 2022 GDK.

Impact Not doing this can produce debugging and deployment failures when using Visual Studio 2022.

Solution: Use the following command-line commands to uninstall the October 2021 GDK .vsix files:

  • vsixinstaller /skuName:Enterprise /skuVersion:17.1 /appIdName:VS
  • /appIdInstallPath:"C:\Program Files\Microsoft Visual Studio\2022\Enterprise"
  • /uninstall:Microsoft.Gaming.GDK.PC.v143.211004
  • uninstall:Microsoft.Gaming.GDK.PC.v143.Templates
  • /uninstall:Microsoft.Gaming.GDK.PC
  • /uninstall:Microsoft.Gaming.GDK.Xbox.v143.211004
  • /uninstall:Microsoft.Gaming.GDK.Xbox.v143.Templates /uninstall:Microsoft.Gaming.GDK.Xbox

Note: This command might vary depending on which edition of Visual Studio 2022 is installed and which .vsix files were initially installed.

If the March 2022 GDK was installed prior to uninstalling the October 2021 GDK .vsix files, repair the March 2022 GDK after uninstalling the October 2021 .vsix files to get back into a working state.

FLY1NGSQU1RR3L avatar Mar 18 '22 22:03 FLY1NGSQU1RR3L