【发布时间】:2019-02-18 14:18:49
【问题描述】:
我已经安装了带有 C++ 桌面开发的 Visual Studio 2017 Professional。
我正在尝试构建此处找到的虚拟串行项目: https://github.com/Microsoft/Windows-driver-samples/tree/master/serial/VirtualSerial
当我尝试构建它时,我得到了错误: 严重性代码描述项目文件行抑制状态
Error MSB8020 The build tools for WindowsUserModeDriver10.0 (Platform Toolset = 'WindowsUserModeDriver10.0') cannot be found. To build using the WindowsUserModeDriver10.0 build tools, please install WindowsUserModeDriver10.0 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". virtualserial C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Platform.targets
除了这个网站,我找不到任何安装说明。
https://docs.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk
我为Windows 10, version 1803 下载了WDK。
我关闭了 VS2017 并运行了安装程序。
在运行安装程序时,我收到了下面屏幕截图中的消息,我点击了Next 继续安装
运行安装程序后,项目仍然没有构建,同样的错误:WindowsUserModeDriver10.0 is not installed。
我在安装过程中遗漏了什么?这是常规 VS2017(不是社区版)的正确安装程序吗?
谢谢,
【问题讨论】:
-
你也安装了Win10 17134 SDK吗?
标签: windows visual-studio-2017 windows-10 driver