Visual Studio部署到HoloLens失败:错误DEP6957:无法连接到设备 [英] Visual Studio failed deploy to HoloLens: Error DEP6957 : Failed to connect to device

查看:475
本文介绍了Visual Studio部署到HoloLens失败:错误DEP6957:无法连接到设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在将Hololens Academy模块:Holograms(210)部署到Hololens设备时遇到问题.它将要求输入图钉,我输入它会失败.

I am having trouble deploying the Hololens Academy module: Holograms (210) to the Hololens device. It will ask for the pin, I enter it and it fails.

我可以很好地在仿真器中部署和运行.

I can deploy and run in the emulator just fine.

我可以确保计算机在同一网络上,并且将Hololens留在配对屏幕上.

I can assure that the computers are on the same network and I leave the Hololens on the pairing screen.

错误DEP6957:无法使用通用身份验证连接到设备"172.16.25.29".请验证在项目调试设置中指定了正确的远程身份验证模式. 0x8007274C:等待网络事件触发了错误. ModelExplorer

Error DEP6957 : Failed to connect to device '172.16.25.29' using Universal Authentication. Please verify the correct remote authentication mode is specified in the project debug settings. 0x8007274C: The network event being waited on triggered an error. ModelExplorer

推荐答案

我重新启动了耳机,重新启动了Visual Studio,甚至是计算机,仍然遇到问题.

I restarted the headset, I restarted Visual Studio and even the computer and was still facing the issues.

最终我确定我需要在配对时将耳机的插针窗口保持打开状态,如果您在VS中输入了错误的插针,很难/无法找到对话来更改它.

Eventually I determined that I needed to leave the headset pin window open while pairing and if you enter a bad pin into VS, it is hard to get/find the dialogue to change it.

因此,我创建了一个新的构建配置,该构建配置在构建后立即触发了销钉窗口,这时我打开了耳机中的销钉/配对对话框并输入了销钉,同时使耳机中的销钉对话框保持打开状态直到显示设备已配对.

As a result, I created a new build configuration which triggered the pin window immediately upon build, at which point I opened the pin/pairing dialogue in the headset and entered the pin while leaving the pin dialogue in the headset open until it showed the device as paired.

这篇关于Visual Studio部署到HoloLens失败:错误DEP6957:无法连接到设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆