VS 2017 & WDK Integration

Category: windows hardware wdk and driver development


InlineOutline on Fri, 01 Jun 2018 22:54:32

Hello, I'm hoping someone can give me a hand here or point me in the right direction...

I installed Visual Studios 2017. It came with the 1803 SDK. I also downloaded and installed the 1803 WDK from here: https://docs.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk#wdk-for-windows-10-version-1803

The download page for the WDK says that it automatically adds the Visual Studio integration extensions during install. This did not work for me. I still do not have any driver-related project wizards/new project options in Visual Studio after installing the WDK.

In an effort to avoid Header Hell, I'm wondering if anyone knows of a fix? I've tried reinstalling both VS and the WDK, but this did not solve the problem.

Thanks for any help you can provide.


Pavel A on Sat, 02 Jun 2018 00:10:42

Try the solution in this thread.

-- pa

InlineOutline on Sat, 02 Jun 2018 00:30:33

Thanks for the response.

I do not have a '...\Windows Kits\10\bin\10.0.16257.0\vsix' directory (I'm using the newest anyhow, so it should be ...\bin\10.0.17134.0...). As a matter of fact, I've checked every directory in the Windows Kits install folder and there is not a "WDK.VSIX" file anywhere in any of them.

Do you know if it goes by another name now?

Jakob Lichtenberg on Sat, 02 Jun 2018 07:40:30

Look for following file:

>dir /s /b wdk.vsix
C:\Program Files (x86)\Windows Kits\10\Vsix\WDK.vsix

1) If WDK.vsix is present, then the WDK is installed.

2) If WDK.vsix is not present, then the WDK is not installed.

Sounds like we are in the 2nd case.  In this case check Settings -> Apps & features -> Windows Driver Kit.  

Is 10.0.17134 installed?

InlineOutline on Sat, 02 Jun 2018 11:20:00

No such file or directory: WDK.vsix

In the Apps & Features, the WDK is list as version 8.59.29757, so I'm guessing that I have the wrong version of the DDK installed. I don't ever remember installing WDK 8 on this system. Hmm.

Jakob Lichtenberg on Sat, 02 Jun 2018 13:52:01

Alright. Then try to follow the instructions at https://docs.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk#wdk-for-windows-10-version-1803 to install WDK.

InlineOutline on Sat, 02 Jun 2018 22:21:50

Thanks for walking me through my stupid moment :)