
This will return the tool sets for all architectures, including Spectre mitigated libs.

With this information (Latest), go to Individual components and search for Latest. To find the latest version of MSVC installed on your system, in Visual Studio Installer go to workload page, on the right pane under installation details, expand Desktop development with C++ and locate the MSVC v143 - VS 2022 C++ 圆4/x86 build tools (Latest). To locate these items, you will need to know the latest version of MSVC installed on your system. Additionally, developing drivers for Arm/Arm64/Arm64EC require the build tools for these architectures to also be installed with Visual Studio. WDK has Spectre mitigation enabled by default but requires Spectre mitigated libraries to be installed with Visual Studio for each architecture you are developing for. Please use the SDK download link in step 2 below. The Windows 11, version 22H2 Software Development Kit (SDK) that is compatible with the Windows 11, version 22H2 WDK is not included in Visual Studio. When you install Visual Studio 2022, select the Desktop development with C++ workload.

Starting with the Windows 11, version 22H2 release of the WDK and EWDK, the kits support: For installation instructions for the Windows Insider Preview builds, see Installing preview versions of the Windows Driver Kit (WDK).

Join the Windows Insider Program to get WDK Insider Preview builds. The WDK is used to develop, test, and deploy drivers for Windows. Specifically, driver debugging within Visual Studio does not work from Visual Studio 17.2.0 up until 17.4.1. Make sure to use Visual Studio 17.4.1 or newer.
