Windows Kernel Mode Driver Project Template doesn't appear in Visual Studio Project Template menu after downloading WDK

烈酒焚心 提交于 2019-12-25 12:57:09

问题


Recently I've menaged to develop Windows Kernel Mode Driver so I started reading about that. I've read I need to download WDK. I use Visual Studio 2017 Community so I've downloaded WDK (for Windows 10) version 1709 (in default folder if it matters). When I try to create new project there should appear new templates for developing drivers but they don't.

(From what I've read I've deduced I only need to download the WDK and it's enough, am I right? It's described like that on MSDN)

So my question is: what am I supposed to do to the Kernel Mode Driver Project Template appear in Project Templates menu? I've really tried to google my problem and I did research but I haven't found anything usefull. I know it looks like very silly question and I'm so sorry if it does but I really don't know what to do, I tried many things like redownloading the WDK or downloading other version and so on but nothing helped. Any help will be appreciated.


回答1:


Don't use Visual Studio 2015 and Visual Studio 2017 installed at the same time, I've seen this cause problems. Neither have two versions of WDK installed at the same time if you happened to have done this.

  1. Uninstall all versions of Visual Studio on your machine.
  2. Install Visual Studio 2017.
  3. Install the latest version of Windows Driver Kit (WDK) for Visual Studio 2017.
  4. Try again and see if the template shows up.

Did the installation of WDK throw any errors last time? Is the folders for WDK present under the Windows Kit area? We sort of need more details if possible, otherwise we'll just be guessing into oblivion for the next 1000 roman years.




回答2:


https://marketplace.visualstudio.com/items?itemName=VisualStudioProductTeam.MicrosoftVisualStudio2017InstallerProjects

Need to install this to get rid of issue



来源:https://stackoverflow.com/questions/48037652/windows-kernel-mode-driver-project-template-doesnt-appear-in-visual-studio-proj

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!