microsoft / Windows-driver-samples

This repo contains driver samples prepared for use with Microsoft Visual Studio and the Windows Driver Kit (WDK). It contains both Universal Windows Driver and desktop-only driver samples.
Microsoft Public License
7.01k stars 4.94k forks source link

Newer versions of WDK (Eg: 10.0.22621) do not seem to include the necessary libraries like portcls #1180

Closed vrinda41198 closed 1 week ago

vrinda41198 commented 5 months ago

I have a Windows 11 (23H2) OS and was trying to build the sysvad solutions on my Visual Studio (2022 Community Version) following the steps in the Readme. However, it seems that the latest WDK versions compatible for my OS (10.0.22621) I installed, do not contain the necessary libraries and packages like portcls to build the solution.

I am trying to install an older WDK but am still running figuring it out. Has anyone else faced this issue and if so, how can this be resolved? image

image
vrinda41198 commented 5 months ago

I was able to resolve this by deleting wdk and reinstalling another version (make sure your OS and OS version are compatible).