How to set "Target OS Version" in VS2019 ?

Felter 1 Reputation point
2021-10-06T16:19:52.577+00:00

Hello:

I'm trying to use Visual Studio 2019 to build a KMDF driver for all platforms: Windows 7/8/8.1/10. As stated in WDK 10.0.22000.0, it supports all these OS versions. But what is the correct way to set the field "Target OS Version" under VS2019-Project settings-Driver Settings? Should it be set at the lowest (oldest) OS Windows 7? Or the latest version Win10 ? And why?

Thanks

Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,551 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 81,831 Reputation points
    2021-10-06T16:32:03.73+00:00
    0 comments No comments