Please verify that the remote tools are installed correctly on the remote machine

被刻印的时光 ゝ 提交于 2019-12-24 21:05:31

问题


I use Windows IoT 10 Core on Raspberry Pi 3. I develop application on Visual Studio 2015 Update 3.

I have long conversation about the problem in an other post

I didn't had debugger running on Windows IoT device originally and followed manual for copy and start the process.

Now I have follow error:

1>------ Deploy started: Project: CurrencyExchange, Configuration: Debug ARM ------
1>DEP0110 : Unable to check remote machine '192.168.1.17' for developer mode. Please verify that the remote tools are installed correctly on the remote machine, and that the correct remote authentication mode is specified in the project debug settings.

========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========

UPDATE

As Rita Han suggested, I tried to run the process with different account, however it yields error:

[192.168.1.17]: PS C:\Data\Users\DefaultAccount\Documents> Start-Process msvsmon.exe -Credential 'DefaultAccount' -ArgumentList '"/nowowwarn /noauth /anyuser /nosecuritywarn /timeout:36000"'
The parameter '-Credential' is not supported for the cmdlet 'Start-Process' on this edition of Windows.
    + CategoryInfo          : NotInstalled: (:) [Start-Process], NotSupportedException
    + FullyQualifiedErrorId : NotSupportedException,Microsoft.PowerShell.Commands.StartProcessCommand

It important to add, that I'm actually succeeded to debug remotely before reflashing.


回答1:


In normal, no need to copy files like msvsmon.exe etc manually to the remote device and no need to configure the firewall rules for remote debugger. Visual Studio will copy these files when you remote deploy the first UWP application to the device this path: C:\Data\Users\DefaultAccount\appdata\local\DevelopmentFiles\VSRemoteTools\arm.

I have long conversation about the problem in an other post

I assume you never remote deploy successfully. You can find same error messages with yours on Visual Studio Developer Community. You can see that there maybe several reasons for your issue.

My suggestion is (maybe the fastest way) re-flash the image because you have made many modifications. And upgrade your Visual Studio to 2017 because I see your Windows IoT Core version is 17763 from your last post. Then create a new helloworld simple UWP application to try again.

For UWP application you select the Universal Authentication is correct.

And start the remote debugger via device portal is not working because it runs remote debugger under administrator account. While remote debugging from Visual Studio will under DefaultAccount.



来源:https://stackoverflow.com/questions/54746577/please-verify-that-the-remote-tools-are-installed-correctly-on-the-remote-machin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!