Error building sample driver: An SDK corresponding to WDK version '8.1' was not found

max imax picture max imax · Aug 13, 2015 · Viewed 33k times · Source

I used one Windows Driver samples from github (Filesys) and tried to build it on Windows 10 with Visual Studio 2015.

I have installed both:

  • WDK8.1 with its SDK
  • WDK10

But when i try to build a project i see this error message:

An SDK corresponding to WDK version '8.1' was not found. Please install the SDK before building.    minispy (Filter\minispy)    C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets

but SDK of 8.1 is already installed.

Is there any option in Visual studio that i could use to point it to SDK 8.1?

Answer

Reflection picture Reflection · Sep 9, 2015

I had the same problem and the solution is sdk version 10 released after VS 2015 .

You should download and install it manually. I used the following link for downloading sdk : https://dev.windows.com/en-us/downloads/windows-10-sdk

Also see this link for help with downloading and installing sdk http://blogs.msdn.com/b/jpwdkblog/archive/2015/08/21/windows-10.aspx good luck