none
I think I found a bug in VS2015 WDK templates: <TargetVersion>WindowsV10.0</TargetVersion> RRS feed

  • Question

  • Using VS2015, go to Add > New Project > Visual C++ > Windows Driver > Package > WinUSB Driver Package

    The resulting .vcxproj file will contain "<TargetVersion>WindowsV10.0</TargetVersion>" for the Release|x64 configuration and "<TargetVersion>Windows10</TargetVersion>" for all of the other configurations. Then the build will fail for Release|x64 with

    "error : Unknown or unsupported property value 'WindowsV10.0' for TargetVersion"

    Another anomaly I found: the "<SupportsPackaging>true</SupportsPackaging>" property was only defined for Debug|x64

    Thursday, January 26, 2017 3:47 AM

All replies

  • Confirmed that the bug is STILL present in Windows 10 ver. 1709 WDK, with VS2017.

    Your solution of manually changing

    <TargetVersion>WindowsV10.0</TargetVersion>

    to

    <TargetVersion>Windows10</TargetVersion>

    in the .vcxproj file works just fine. Cheers!


    Friday, April 13, 2018 6:12 AM
  • Can confirm the bug is still present in WDK 10.0.17763.1 with VS 2017 15.9.28307.222

    The error originally presented as 'Error MSB4044 The "ValidateNTTargetVersion" task was not given a value for the required parameter "ValidNTTargetVersions"' 

    Changing TargetVersion to Windows10 in vcxproj  resolved the issue

     
    Thursday, January 3, 2019 12:53 AM