Rule of thumb
When you need to create the latest (or specific) version of the WDK, make sure that the appropriate version of the Win SDK is installed.
Supposed reason
In the process of debugging the problem, it turned out that (due to the SDK version) the build process set $ (LastTargetPlatformVersion) to 10.0.10586. Although the installed WDK provides the necessary build file versions only for version 10.0.14393. This seems to be a somewhat conceived behavior.
My case
In my case, this was due to different versions of the Win SDK and WDK . I had SDK 10.0.10586 and WDK 10.0.14393. Installing SDK 10.0.14393 solved the problem for me.
Side note
The Win SDK is installed with the default layout VS2015, but for some reason it does not receive updates during the VS update process.
Isxande
source share