请验证远程工具上是否正确安装了远程工具 [英] Please verify that the remote tools are installed correctly on the remote machine

查看:243
本文介绍了请验证远程工具上是否正确安装了远程工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Raspberry Pi 3上使用Windows IoT 10核心.我在Visual Studio 2015 Update 3上开发应用程序.

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

我在另一个我最初没有在Windows IoT设备上运行调试器,而是遵循

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> ------部署已开始:项目:CurrencyExchange,配置: 调试ARM ------
1> DEP0110:无法检查远程计算机 开发人员模式为"192.168.1.17".请验证远程工具 正确安装在远程计算机上,并且正确 远程身份验证模式是在项目调试设置中指定的.

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.

===========部署:0成功,1失败,0跳过==========

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

更新

正如Rita Han所建议的那样,我尝试使用其他帐户运行该过程,但是会产生错误:

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

重要的是,我在刷新之前实际上已经成功进行了远程调试.

推荐答案

通常,无需手动将msvsmon.exe等文件复制到远程设备,也无需为远程调试器配置防火墙规则.当您远程部署时,Visual Studio将复制这些文件. 到该设备的第一个UWP应用程序的路径为:C:\Data\Users\DefaultAccount\appdata\local\DevelopmentFiles\VSRemoteTools\arm.

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 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.

我的建议是(也许是最快的方法)重新刷新图像,因为您进行了许多修改.并且将您的Visual Studio升级到2017 ,因为我发现您的

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.

对于UWP应用程序,您选择通用身份验证"是正确的.

For UWP application you select the Universal Authentication is correct.

并且无法通过设备门户启动远程调试器,因为它以管理员帐户运行远程调试器.从Visual Studio进行远程调试时,将使用DefaultAccount.

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.

这篇关于请验证远程工具上是否正确安装了远程工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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