VS 2017 (15.8 update)


The Visual Studio 2017 (15.8 update) is now available for download, and you should see the 'new update available' notification in the coming weeks--you can also get the update now by downloading the 'free trial' version of the installer which will let you update your system.

The latest VS 2017 Redistribution packages are available (x86, x64), as well as the Remote Debugging Tools (x86, x64). For more on the Visual Studio 2017 (15.8) update, see the release notes. See this post for details on the changes to the Standard Library.

Compiler and CRT

VS 2017 (15.8) includes a new version of the C/C++ complier (19.15.26726). This includes some improvements to the SSA Optimizer, as well as some additional performance improvements for the linker. This also fixes some codegen bugs including this one.

Servicing:

  • 15.8.4 updates the compiler to 19.15.26729
  • 15.8.5 updates the compiler to 19.15.26730
  • 15.8.9 updates the compiler to 19.15.26732

A new C++ debugging feature in VS 2017 (15.8) known as "Just My Code" stepping (JMC). For more details, see this blog post.

There's a newly rewritten C++11/C99-compatible preprocessor in progress you can try out with /experimental:preprocessor. For more details see this blog post.

Note: Per this blog post, the _MSC_VER value is now 1915 instead of 1910, 1911, 1912, 1913, or 1914.

The C/C++ Runtime (14.15.26706) is included in this update. Remember that VS 2015 and VS 2017 share the same runtime redistributable binaries and that VS 2015 Update 3 is binary compatible with VS 2017--code or static library built with one can be linked to the other--, so this is the latest version for both.

C++/WinRT: The C++/WinRT headers in the Windows 10 SDK (17134) are not fully compatible with the latest implementation of /permissive- in VS 2017 (15.8). You can work around the issue leaving Conformance Mode enabled by adding /Zc:twoPhase- to the Additional Options project setting. This is fixed when using the Windows 10 SDK (October 2018).

Xbox One: By default /JMC is enabled with VS 2017 (15.8) in Debug configurations which can lead to a link error when using the Xbox One XDK (unresolved symbol __CheckForDebuggerJustMyCode). You can easily resolve this by going to your project settings under C/C++ -> General and setting "Support Just My Code Debugging" to "No", and then rebuild. This will be fixed in a future Xbox One XDK QFE at which time you can re-enable this feature if desired.

JMC: If you are shipping static libraries built from C++ code using VS 2017 (15.8), you probably want to turn off JMC anyhow to avoid forcing your customers to use 15.8, which otherwise would be compatible with 15.5, 15.6, and/or 15.7 as well. BTW, if you want the same static library to also work with VS 2015, then you are probably better off producing it with VS 2015 Update 3.

Static analysis: As I mentioned with the VS 2017 (15.7 update), the /analyze switch now includes some C++ Core Guidelines checker rules per this blog post. With VS 2017 (15.8 update), a fair amount of the 'noise' introduced with this change has been addressed.

GitHub: I've updated DirectX Tool Kit (DX11 / DX12), DirectXTex, DirectXMesh, and UVAtlas with changes for VS 2017 (15.8), mostly for /analyze cleanup. There's also a new release of directx-vs-templates with a few minor tweaks.

Related: VS 2017 (15.7 update), VS 2017 (15.6 update), VS 2017 (15.5 update), Windows 10 Fall Creators Update SDK (15.4), VS 2017 (15.3 update)Windows 10 Creators Update SDK (15.1/15.2), Visual Studio 2017 (15.0)


Comments (3)

  1. Hi Chuck, there are a number of pages that reference the DirectX (XAML) template for DirectX11 + XAML, however, I’ve been unable to find this template, even looking through the release history. Do you have a link for the older templates that had the sample using SwapChainPanel for rendering?

    1. Visual Studio 2017 includes built-in templates as part of the UWP Workload if you add the C++ Tools for UWP apps optional component. They are listed under the Visual C++ -> Windows Universal area and includes DirectX 11 App, DirectX 12 App, DirectX 11 and XAML App.

  2. Can you please also post information about 15.9?

Skip to main content