从Visual Studio远程部署至Hololens2失败问题求助
HoloLens 2 WiFi部署DEP6701错误解决记录
问题场景
- 已完成配置:更新HoloLens 2设备IP(未添加端口号)、通过
Win+Holo开启开发者模式、关闭PC与设备防火墙、确保两者处于同一WiFi网络 - 异常情况:基于新版MRTK的Unity项目通过WiFi部署失败,重启PC和设备后问题依旧;但USB部署完全正常
- 初始开发环境:Visual Studio Community 2022 17.2.1
错误详情
--------------------------- Microsoft Visual Studio --------------------------- BootstrapForDebugging returned null instead of IPAddress & PortNumber of the remote msvsmon process. --------------------------- OK --------------------------- Severity Code Description Project File Line Suppression State Error DEP6701: Bootstrapping failed with unexpected error: ArgumentException - Parameter cannot be null or empty. Parameter name: target [0x80070057] MRTK Tutorial
解决方法
安装Visual Studio Professional 2022 17.3.4版本,保持原有WiFi部署设置不变,部署成功。后续测试发现,原本的Visual Studio Community 2022 17.2.1版本也能正常完成WiFi部署。
内容的提问来源于stack exchange,提问作者Suisse
相关产品推荐
相关产品推荐

