Premise: Visual Studio 2015 has successfully installed the drive environment, the WDK is fully installed, and you can see the "Driver" menu item in the Visual Studio 2015 menu. This shows that it has been completely normal to develop a driver, but unfortunately, I have a problem, I hope you do not like me so unfortunate, at least if you encounter with me similar problems, you read this article, successfully solved!
Problem: Unable to build umdf driver correctly, error
Follow the error to find this file and find that there is no "km" folder under the "C:\Program files (x86) \ Windows kits\10\lib\10.0.10586.0" Directory! Cost Dickens, reinstall the SDK, after the reload, still do not have this directory, still can't compile successfully!!
Through the help of netizens, finally solved!!!
Problem reason: There really is no this file!
Workaround: Build the same directory that the build driver needs and copy this file from somewhere else!
Recommended tools for finding files: Everything, a tool to find files, speed that is quite fast!! Download: http://www.voidtools.com/
After installing this tool, then enter the file to find, find, copy the corresponding file to the wrong place to compile, then compile it!! The above compiled error file is missing one, after this pass, there is another, it is also possible to do so!!
Write the first Umdf driver encounter problem with Visual Studio 2015!!