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 2019 Update 2

visualc

Chuck Walbourn -

Visual Studio 2019 Update 2 (a.k.a. 16.2) is now available for download. For more information see the Visual Studio Team blog.

Updates older than 16.11 of Visual Studio 2019 are out of their support lifecycle as of October 2022.

The latest VS 2019 Redistribution packages are available (x86, x64), as well as the Remote Debugging Tools (x86, x64). For more on Visual Studio 2019 Update 2, see the release notes.

Compiler and CRT

VS 2019 Update 2 includes a new version of the C/C++ compiler (19.22.27905.0). This includes additional C++20 draft library features and other bug fixes.

The C/C++ Runtime (14.22.27821) is included in this update. Remember that VS 2015, VS 2017, and VS 2019 share the same runtime redistributable binaries and are binary compatible.

The VS 2019 C/C++ Runtime DLLs includes vcruntime140.dll, vcruntime140_1.dll, msvcp140.dll, msvcp140_1.dll, msvcp140_2.dll, concrt140.dll, and vccorlib140.dll. VS 2019 16.2 adds msvcp140_codecvt_ids.dll. Use of OpenMP also requires vcomp140.dll.

A number of improvements were made for code generation, Standard Library performance, and link times in this update. There were also a number of optimizations made specifically with game performance in mind.

Known Issue: There is a known issue for VS 2019 RTM/Update 1/Update 2 when using my Direct3D Game project templates on GitHub. If you have VS 2017 installed as well, it works. Otherwise you need to edit your devenv.exe.config. See here for the details. This issue is fixed in Update 3.

Known Issue: There is a known issue with DirectXMath where the IsNan tests can fail when building with /fp:fast due to new optimizations. This is fixed when using DirectXMath 3.14 in combination with Update 3.

clang/LLVM: VS 2019 Update 2 includes integration support for clang for Windows using CMake and MSBuild as an ‘individual component’. For VS 2019 Update 2, this is clang 8.

Related: VS 2019 RTM, VS 2019 Update 1, VS 2019 Update 3, VS 2019 Update 4, VS 2019 Update 5, VS 2019 Update 6, VS 2019 Update 7, VS 2019 Update 8