结合微软文档,在server2016上需要安装1803版的WDK才可以成功安装WDTF
https://learn.microsoft.com/zh-cn/windows-hardware/drivers/wdk-known-issues
安装方法:
①先卸载其他版本WDK,然后下载安装1803版WDK
②打开cmd命令行
cd /d "C:Program Files (x86)Windows Kits10TestingRuntimes"
msiexec /i "Windows Driver Testing Framework (WDTF) Runtime Libraries-x64_en-us.msi" /l* WDTFInstall.log WDTFDir=c:wdtf WDTF_SKIP_MACHINE_CONFIG=1
notepad WDTFInstall.log
参考:https://learn.microsoft.com/zh-cn/windows-hardware/drivers/wdtf/wdtf-runtime-library
扩展:
visual studio 2019下载地址:https://learn.microsoft.com/zh-cn/visualstudio/releases/2019/release-notes
visual studio 2022下载地址:https://learn.microsoft.com/zh-cn/visualstudio/releases/2022/release-notes
wdk下载地址:https://learn.microsoft.com/en-us/windows-hardware/drivers/other-wdk-downloads
预配计算机以便进行驱动程序部署和测试
https://learn.microsoft.com/zh-cn/windows-hardware/drivers/gettingstarted/provision-a-target-computer-wdk-8-1
vs2022得下载win11版本的wdk才能在扩展菜单下出现Driver
步骤:
安装vs2022 → 安装win11版本的wdk → VSIX Installer
Win10安装WDTF扩展:
https://www.lab-z.com/zvb/