简体   繁体   English

远程调试器比此版本的 visual studio 2019 旧

[英]The remote debugger is older than this version of visual studio 2019

I'm getting up a new server, and want remotely debug my WPF application from visual studio 2019 ( version 16.1.3 ).我正在安装一台新服务器,并希望从 visual studio 2019(版本 16.1.3)远程调试我的 WPF 应用程序。 I've downloaded the latest remote tools from here https://visualstudio.microsoft.com/downloads/#remote-tools-for-visual-studio-2019 and installed to my remote device.我已从此处https://visualstudio.microsoft.com/downloads/#remote-tools-for-visual-studio-2019下载最新的远程工具并安装到我的远程设备。

On the remote device, I've set the authentication mode to " No authentication ".在远程设备上,我已将身份验证模式设置为“无身份验证”。 When I try to use attach remote process to visual studio 2019. I get the error as " The Remote debugger is older than this version of visual studio 2019, upgrade your remote debugger " though I'm using the latest compatible tools on both sides.当我尝试将远程进程附加到 visual studio 2019 时。我收到错误消息“远程调试器比此版本的 visual studio 2019 旧,请升级您的远程调试器”,尽管我在双方都使用了最新的兼容工具。 Unable to figure out the problem because no help on the inte.net is available about this issue.无法找出问题所在,因为在 inte.net 上没有关于此问题的帮助。

I've figured out this problem, it's because of older version remote debugger application on the remote machine.我已经解决了这个问题,这是因为远程机器上的旧版本远程调试器应用程序。 You've to be careful which version of remote debugger application you are running for remote debugging.您必须小心您正在运行哪个版本的远程调试器应用程序进行远程调试。 I mistakenly started the application "remote debugger" which was for visual studio 2017 rather than visual studio 2019.我错误地启动了用于 Visual Studio 2017 而不是 Visual Studio 2019 的应用程序“远程调试器”。

I get this error a lot when remote debbuging in Xbox.在 Xbox 中进行远程调试时,我经常遇到此错误。 According to documentation, “Windows 11 PCs, and Windows 10 PCs running Creator's Update (version 1703) and later, Windows 10 Xbox, IoT, and HoloLens devices install the remote tools automatically when you deploy the app.”根据文档,“运行 Creator's Update(版本 1703)及更高版本的 Windows 11 PC 和 Windows 10 PC 以及更高版本、Windows 10 Xbox、IoT 和 HoloLens 设备会在您部署应用程序时自动安装远程工具。”

The thruth is that some time I get stuck in the deploy error with the above message.事实是,有一段时间我因上述消息而陷入部署错误。 The only way to fix this is to exit develloper mode with "delete side loaded apps and games" checked and then enable developper mode again.解决此问题的唯一方法是退出开发者模式并选中“删除侧加载的应用程序和游戏”,然后再次启用开发者模式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM