visual-studio - 在 VS 2019 中部署驱动程序失败
问题描述
尝试使用 KMDF 进行一些试验,但 echo 驱动程序无法部署:
A[13:22:28:862]: An error occured while deploying files to the target machine for test "Driver Preparation": Could not find a part of the path 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.21.27702\debug_nonredist\X64\Microsoft.VC141.DebugCRT'..
为什么它会尝试查找 Microsoft.VC141.DebugCRT。我安装了 Microsoft.VC142.DebugCRT 和较新的工具集以及 10.0.18362.0 SDK。
我还安装了 VS 2017 工具集,现在出现同样的错误:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Redist\MSVC\14.21.27702\debug_nonredist\X64\Microsoft.VC141.DebugCRT 缺失。
但它应该查看 ...\14.16.27012.. 。
解决方案
我一直遇到同样的错误。我试过卸载/重新安装也试过 2017 年。我卸载了所有东西并重新安装了所有东西,但没有运气。我什至尝试安装VC141。
我真的来到你的帖子寻找答案,但我一时兴起打开安装程序,修改它以安装 VC141 的东西,将文件放入Community\VC\Redist\MSVC\14.16.27012\debug_nonredist\x64
VS 仍然抱怨所以我只是将 * 从 Community\VC\Redist\MSVC\14.16.27012\debug_nonredist\x64 复制到 Community\VC\Redist\MSVC\14.21.27702\debug_nonredist\x64 和“事情似乎工作”。这不是一个很好的答案——但也许它已经足够好了?
推荐阅读
- amazon-web-services - AWS Auth.currentCredentials() 失败
- nativescript - Nativescript 启动屏幕徽标很小
- mongodb - 我希望我的 Dialogflow 机器人说出一条包含 MongoDB 查询结果的消息
- r - 我可以从字符串执行 rscript 吗?
- api - 更新播音项目字段导致空值
- asp.net-mvc - 会话状态 ASP.NET Core 添加集合
- javascript - Babel 使用通配符编译路径但保留文件夹结构
- react-native - 反应原生,侧边菜单没有出现
- scala - datastax 驱动程序 causign 应用程序成为“僵尸”而不退出
- angularjs - 如何将响应从 $http.get 更改为 camelCase?