下载 WDK 后,Windows 内核模式驱动程序项目模板未出现在 Visual Studio 项目模板菜单中 [英] Windows Kernel Mode Driver Project Template doesn't appear in Visual Studio Project Template menu after downloading WDK

查看:63
本文介绍了下载 WDK 后,Windows 内核模式驱动程序项目模板未出现在 Visual Studio 项目模板菜单中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我开始开发 Windows 内核模式驱动程序,所以我开始阅读相关内容.我读过我需要下载 WDK.我使用 Visual Studio 2017 社区,因此我下载了 WDK(适用于 Windows 10)版本 1709(如果重要,则在默认文件夹中).当我尝试创建新项目时,应该会出现用于开发驱动程序的新模板,但它们没有.

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.

(根据我的阅读,我推断我只需要下载 WDK 就足够了,对吗?MSDN 上是这样描述的)

(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)

所以我的问题是:我应该对项目模板菜单中出现的内核模式驱动程序项目模板做什么?我真的试着用谷歌搜索我的问题,我做了研究,但我没有找到任何有用的东西.我知道这看起来是一个非常愚蠢的问题,如果确实如此,我很抱歉,但我真的不知道该怎么做,我尝试了很多方法,例如重新下载 WDK 或下载其他版本等等,但没有任何帮助.任何帮助将不胜感激.

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.

推荐答案

不要同时安装 Visual Studio 2015 和 Visual Studio 2017,我见过这会导致问题.如果您碰巧这样做了,请不要同时安装两个版本的 WDK.

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. 在您的计算机上卸载所有版本的 Visual Studio.
  2. 安装 Visual Studio 2017.
  3. 为 Visual Studio 2017 安装最新版本的 Windows 驱动程序工具包 (WDK).
  4. 再试一次,看看模板是否显示出来.

上次安装WDK有没有报错?Windows Kit 区域下是否存在 WDK 的文件夹?如果可能的话,我们有点需要更多细节,否则我们只能猜测在接下来的 1000 罗马年中会被遗忘.

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.

这篇关于下载 WDK 后,Windows 内核模式驱动程序项目模板未出现在 Visual Studio 项目模板菜单中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆