Looks like your environment is correctly set up. Can you share the detailed error log here
Windows Driver Kit fails to install integration with Visual Studio, no .sys file generated
Hey,
I'm trying to create an NDIS lightweight filter driver. I'm having problems setting up my environment correctly. I tried a few templates - ndislwf, kmdf basic, kmdf empty, and wdm. I always get the same symptoms:
- The include paths are not set up correctly to include the
km
directory. - The
_AMD64_
preprocessor define is not defined. - The property pages required for driver development, like
Inf2Cat
andDriver Signing
are missing.
The first two issues were easily handled, but it looks like the third issue prevents sys
files from being generated, despite .obj
files being present in the same directory.
Despite these issues, it looks like the Visual Studio extension was installed correctly:
- The templates for kernel projects (like the ones I mentioned above) exist
- The platform toolset is set up for
WindowsKernelModeDriver10.0
- The WDK extension of the correct version can be seen in
Help --> About
.
I also tried uninstalling everything, repairing my Visual Studio installation, and reinstalling everything while being careful to follow the steps precisely, restarting after each step. Afterwards I created fresh projects, and the problem persists.
All software versions are latest:
- Windows - 26100.2454
- Visual Studio 2022 Community - 17.12.2 (with no other VS versions installed)
- Windows SDK - 10.0.26100.1742
- Windows Driver Kit - 10.0.26100.2454 (this also happened with the previous version)
These are my installed Visual Studio components:
Thanks :)
1 answer
Sort by: Most helpful
-
Paul Eze 0 Reputation points Microsoft Employee
2024-12-11T03:15:05.2066667+00:00