如何修改驱动配置文件inf 实现跟虚拟机的双机调试

白嫖怪 0 Reputation points
2023-01-27T18:35:08.68+00:00

我是个新人,第一次学习开发驱动,教程里配置驱动的inf文件后可以实现管道跟虚拟机进行连接从而在visual Stdio里面调试驱动代码,但是我实际测的时候,inf 文件一直是个障碍,查了很多资料,单纯删除inf文件就可以编译驱动,但是我要实现的是双机调试,,然后我按照默认的inf去进行双机调试则一直提示部署错误并显示这个破玩意

Please select a valid target machine for deployment from the project property page

1

删除了inf文件进行双机调试的时候如果提示部署问题不管直接执行,则vs会卡顿然后右下角有个框然后不执行代码,

完全无法实现双机调试,还请大佬帮忙,谢谢

2

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,574 questions
Windows for IoT
Windows for IoT
A family of Microsoft operating systems designed for use in Internet of Things (IoT) devices.
381 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,519 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JIAN WANG 335 Reputation points
    2023-01-27T20:11:35.4333333+00:00

    请问你有没有配置目标计算机?右键工程MyDriver1,属性,驱动安装,部署.

    0 comments No comments