错误DEP6951 [英] Error DEP6951
问题描述
我在尝试将应用程序部署到我的Raspberry PI 3时遇到了问题。
I'm having an issue trying to deploy an app to my Raspberry PI 3.
我在Visual Studio中创建了应用程序,它构建得很好。 我打开了IOT仪表板并进入了我的Pi的设备门户。 我转到调试标签,然后点击"开始"按钮。启动远程调试器。 它报告它已启动。
然后我进入我的应用程序的解决方案属性,并选择我的Pi作为机器名称和Uniersal(未加密协议)进行身份验证类型。
我确保选择了Debug,Arm和远程机器,然后单击远程机器旁边的go按钮。
I created the app in Visual Studio, and it builds fine. I opened up the IOT dashboard and went into my Pi's Device Portal. I went to the debugging tab and clicked "Start" to start the Remote Debugger. It reports that it started.
I then go into my solution properties for my app and select my Pi as Machine Name and Uniersal (Unencrypted Protocol) for authentication type.
I make sure that Debug, Arm, and remote Machine are selected and click the go button next to remote machine.
它表示部署已启动,然后返回错误"DEP6720:无法部署程序包'本机调试程序。' DEP6951:拒绝访问设备上的路径:"C :\ Data\Users \DefaultAccounts\AppData \ Local \DevelopmentFiles \VSRemoteTools \arm\msvsmon.exe'
$
如果我点击"是"当它询问我是否要继续时,它会给出错误"BootstrapForDebugging返回null而不是IPAddress&远程msvsmon进程的PortNumber。"
It says that the Deploy Started, then returns error "DEP6720: Failed to deploy package 'Native Debugger.' DEP6951: Access is denied to the path on the device: "C:\Data\Users\DefaultAccounts\AppData\Local\DevelopmentFiles\VSRemoteTools\arm\msvsmon.exe'
If I click "yes" when it asks if I want to continue, it gives me the error "BootstrapForDebugging returned null instead of IPAddress & PortNumber of the remote msvsmon process."
任何想法?
谢谢
推荐答案
嗨MCPorche,
Hi MCPorche,
你有没有设置您的开发PC和设备之间的信任关系? 请参阅
https://developer.microsoft.com/en-us上的信息关于可信主机的/ windows / iot / docs / powershell 。
Have you set up the trust relationship between your Development PC and the device? Please see the information at https://developer.microsoft.com/en-us/windows/iot/docs/powershell regarding trusted host.
此致,
IoTGirl
这篇关于错误DEP6951的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!