To use WDK in VS2019, which Spectre-mitigated library should be installed
问题 When using WDK in VS2019, I get this build error: Error MSB8040: Spectre-mitigated libraries are required for this project There are a lot of items in VS2019 setup that contains "spectre". This https://docs.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk#wdk-for-windows-10-version-1903 says: For each architecture you intend to build drivers for, install the Spectre mitigated libraries thru Individual Components -> Compilers, build tools, and runtimes -> MSVC v142 - VS 2019 C+