Games for Windows and the DirectX SDK blog

Technical tips, tricks, and news about game development for Microsoft platforms including desktop, Xbox, and UWP

Project maintained by walbourn Hosted on GitHub Pages — Theme by mattgraham
Home | Posts by Tag | Posts by Month

VS 2022 Update 2


Chuck Walbourn -

Visual Studio 2022 Update 2 (a.k.a. 17.2) is now available for download, including the updated Community edition. The VS 2022 Redistribution packages are also available (x86, x64, arm64), as well as the Remote Debugging Tools (x86, x64, arm64). For more information see the Visual Studio Team blog and the release notes.

Visual Studio 17.0, 17.1, and 17.2 are out of their support lifecycle as of January 2024.

Compiler and CRT

VS 2022 Update 2 includes a revision of the C/C++ compiler (19.32.31328.0).

17.2 update C++ compiler
17.2.0 19.32.31328.0
17.2.1 19.32.31329.0
17.2.5 19.33.31332.0

The C/C++ Runtime (14.32.31326) is binary compatible with VS 2015 Update 3 through VS 2022, which means you can safely link C/C++ code built with VS 2015 Update 3, VS 2017, or VS 2019 with VS 2022. See Microsoft Docs for details. A full list of updates to the Standard C++ Library can be found on GitHub.

C++20: This update includes additional Defect Reports for the C++20 library support. This means <ranges> and <format> are now supported with /std:c++20. See this blog post. The VS 2019 (v142) toolset included in this verison was updated to 14.29.30145.0 to support these updates there as well.

clang/LLVM: VS 2022 17.2 includes clang 13.0.1 for Windows as an optional component.

OpenMP: VS 2022 17.2 includes additional work on OpenMP LLVM. See this blog post for details.

C++ Core Guidelines Checkers: See this blog post for some changes for the Core Guidelines Checkers when using /analyze.

GitHub: VS 2022 17.2 fixes a bug with the C5246 warning introduced in VS 2022. This means this warning crops up in more places. The compiler also supports a new C5256 warning. My May 2022 releases of DirectX Tool Kit for DX11 / DX12, DirectXTex, DirectXMesh, and directx-vs-templates include updates for these new warnings.

Windows SDK: VS 2022 17.2.2 or later offers the Windows SDK for Windows 11, Version 22H2 (10.0.22621) as an optional component.

Related: Visual Studio 2022, VS 2022 Update 1