> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Visual Studio 2022 support notes

> Visual Studio 2022 support notes

[Visual Studio 2022](https://visualstudio.microsoft.com/) is supported for Microsoft Game Development Kit (GDK) development, and Long Term Support Channels are provided for 17.8, 17.10, 17.12 and 17.14 per [Visual Studio Product Lifecycle and Servicing](https://learn.microsoft.com/visualstudio/productinfo/vs-servicing).

<Note>Visual Studio 2022 version 17.0 - 17.7 are out of support as of January 2025.</Note>

<Note>Visual Studio 2022 version 17.0 - 17.4 are out of support as of July 2024.</Note>

## Installing Visual Studio 2022

The Microsoft Game Development Kit (GDK) supports development with either the **Professional** edition or the **Enterprise** edition of Visual Studio 2022. The Community edition isn't supported.

<Info>GDK Visual Studio extension (VSIX) components aren't supported on ARM-based devices. To use GDK Visual Studio project templates, property pages, and debugging extensions, install the GDK on an x64-based development PC.</Info>

When installing Visual Studio 2022, you must select the **Game development with C++** workload during setup as shown in the following screenshot.

<img src="https://mintcdn.com/microsoft-4404708b/6TXzXmujKayly5Sf/images/gdk/tools/vs2022_workloads_game_development.png?fit=max&auto=format&n=6TXzXmujKayly5Sf&q=85&s=323e575e103c803e945a7b6eee4e0d3d" alt="Installing the Game Development with C++ workload with Visual Studio 2022" width="1157" height="514" data-path="images/gdk/tools/vs2022_workloads_game_development.png" />

In addition to the core C++ tools that you need for game development, make sure the **Windows 10 SDK (19041)** or **Windows 11 SDK (22000)** component is installed to provide the Windows 10 SDK required to build games with the Microsoft Game Development Kit (GDK).

> *Windows 10 SDK* (20348), *Windows SDK for Windows 11* (10.0.22000), or *Windows SDK for Windows 11, Version 22H2* (10.0.22621) can also be used, but isn't required. For the October 2023 release, use of *Windows 11 SDK* or later is strongly recommended for PC development.

While not required, installing the **Desktop development with C++** workload provides more tools and samples that you might find helpful. For example, **Desktop development with C++** is required if you're building with the Clang/LLVM toolset.

If you're building a game that uses Unity, install the **Game Development with Unity** workload.

## Installing optional toolsets

The Visual Studio 2022 version of the MVSC build tools (version **v143**) is installed with the **Game development with C++** workload. In addition to the **v143** toolset, the Microsoft Game Development Kit (GDK) also supports building with the following toolsets:

* v142 (the Visual Studio 2019 toolset)
* the C++ Clang tools for windows

This flexibility allows you to upgrade to the Visual Studio 2022 IDE without updating your toolset.

The optional toolsets can be found under the **Desktop Development with C++** workload, or by searching the **Individual Components** in the Visual Studio installation dialog.

<img src="https://mintcdn.com/microsoft-4404708b/6TXzXmujKayly5Sf/images/gdk/tools/vs2022_optional_toolsets.png?fit=max&auto=format&n=6TXzXmujKayly5Sf&q=85&s=dabf5dc04ac037d980dc20784cf60caa" alt="Selecting optional toolsets when installing Visual Studio 2022" width="1160" height="518" data-path="images/gdk/tools/vs2022_optional_toolsets.png" />

> The Visual Studio 2017 toolset `v141` no longer supported as of the October 2024 release.

## Selecting a toolset for a project

The toolset to use for a project is specified using the **Platform Toolset** property from the project's property page.

<img src="https://mintcdn.com/microsoft-4404708b/6TXzXmujKayly5Sf/images/gdk/tools/vs2022_specify_a_toolset.png?fit=max&auto=format&n=6TXzXmujKayly5Sf&q=85&s=1ea3eed598eb3d7937b59384b6f5a563" alt="Specifying the toolset to use when building a project" width="788" height="539" data-path="images/gdk/tools/vs2022_specify_a_toolset.png" />

The **PlatformToolset** property can also be specified manually in the project file, as shown in the following property group.

```xml theme={null}
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'" Label="Configuration">
  <ConfigurationType>Application</ConfigurationType>
  <PlatformToolset>v142</PlatformToolset>
  <UseDebugLibraries>true</UseDebugLibraries>
  <CharacterSet>Unicode</CharacterSet>
  <EmbedManifest>false</EmbedManifest>
  <GenerateManifest>false</GenerateManifest>
</PropertyGroup>
```

## Visual Studio 2022 Servicing Model

Visual Studio 2022 includes a new servicing model that allows you to select a servicing baseline, and then only get updates for that baseline. This new model replaces the servicing models from previous versions of Visual Studio, which strongly encouraged the use of the latest available version. See [Visual Studio Product Lifecycle and Servicing](https://learn.microsoft.com/visualstudio/productinfo/vs-servicing) for more details on the Visual Studio 2022 servicing model.

## Report bugs

Bug reports for the **Visual C++ compiler** should be reported (if possible) via Visual Studio *Report a Problem...*. See [Microsoft Docs](https://learn.microsoft.com/visualstudio/ide/how-to-report-a-problem-with-visual-studio) and the [Developer Community](https://aka.ms/feedback/report?space=62) website. Be sure to read [this page](https://aka.ms/compilerbug) for details on creating a good bug report for the compiler.

<Note>You can add a comment to a public report issue marked as "Microsoft only" if private information is required to reproduce the issue.</Note>

For bug reporting for the **clang/LLVM for Windows compiler**, use [https://bugs.llvm.org/](https://bugs.llvm.org/)

For bug reports for the **Microsoft Standard C++ Library** (a.k.a. STL), use [https://github.com/microsoft/STL/issues](https://github.com/microsoft/STL/issues)

As always, feel free to reach out to your *Microsoft Representative* for critical issues that need escalation.

## See also

[Visual Studio for PC Game Development](/tools/tools-pc/visualstudio/gr-visualstudio-toc)


## Related topics

- [Visual Studio (contents)](/tools/tools-pc/visualstudio/gr-visualstudio-toc.md)
- [Visualstudio](/tools/tools-pc/visualstudio/index.md)
- [Visual Studio for console development](/tools/tools-console/visualstudio/visualstudio.md)
- [Visual Studio 2022 GDK support notes](/tools/tools-console/visualstudio/vs-2022-support-notes.md)
- [Visual Studio 2019 support notes](/tools/tools-pc/visualstudio/gr-vs-2019-support-notes.md)
