You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Severity Code Description Project File Line Suppression State Details
Error MSB4064 The "DriverBinary" parameter is not supported by the "Telemetry" task loaded from assembly: Microsoft.DriverKit.Build.Tasks, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 from the path: C:\Program Files (x86)\Windows Kits\10\build\10.0.26100.0\bin\Microsoft.DriverKit.Build.Tasks.17.0.dll. Verify that the parameter exists on the task, the <UsingTask> points to the correct assembly, and it is a settable public instance property. KMDF WDF DMF VHF KMClone {redacted}\packages\Microsoft.Windows.WDK.x64.10.0.26100.2161\c\build\10.0.26100.0\WindowsDriver.common.targets 1742
Error MSB4063 The "Telemetry" task could not be initialized with its input parameters. KMDF WDF DMF VHF KMClone {redacted}\packages\Microsoft.Windows.WDK.x64.10.0.26100.2161\c\build\10.0.26100.0\WindowsDriver.common.targets 1721
It took me about a day to diff my project with the DmfSamples and I eventually I realized the [obvious in hindsight] only difference was that my project had added a nuget dependency on WDK.
I removed the nuget WDK dependency and was surprised that the project built successfully.
I added back the nuget WDK dependency and got the same error.
I have since learned that my projects do not actually need to define a nuget WDK dependency.
But the nuget WDK package exists for some reason, and if someone uses it then they will probably run into this Issue.
The text was updated successfully, but these errors were encountered:
I had an existing solution with a few projects that would not compile until I added a nuget dependency on WDK.
I wanted to add a DMF project, so I:
Dmf.props
into my KMDF DMF project following the [IMHO important but very buried] instructions at:https://github.com/Microsoft/DMF/blob/master/Dmf/Documentation/Driver%20Module%20Framework.md#simplifying-compilation-and-linking-with-dmf
https://github.com/Microsoft/DMF/blob/master/Dmf/Documentation/Driver%20Module%20Framework.md#using-dmf-in-a-driver-that-does-not-have-a-deviceadd-callback
'WPP_CLEANUP' undefined
and'WPP_INIT_TRACING' undefined
that I fixed per my report at Documentation needs to include adding<ClCompile ...><Wpp* ...></ClCompile>
to VS project? #260This resulted in me adding the following to my code:
and the following to my project file:
It took me about a day to diff my project with the DmfSamples and I eventually I realized the [obvious in hindsight] only difference was that my project had added a nuget dependency on WDK.
I removed the nuget WDK dependency and was surprised that the project built successfully.
I added back the nuget WDK dependency and got the same error.
I have since learned that my projects do not actually need to define a nuget WDK dependency.
But the nuget WDK package exists for some reason, and if someone uses it then they will probably run into this Issue.
The text was updated successfully, but these errors were encountered: