msvsmon.exe 不是 运行 Windows 物联网

msvsmon.exe not running on Windows IOT

我在 Raspberry Pi 3 上安装了最新版本的 Windows IoT 并启动它以向其部署一些 Visual Basic 代码,但我收到 Visual Studio 远程调试器 (msvsmon.exe) returns null 而不是 IP 地址。在仪表板中,有一个启动调试器的按钮,但它 returns 错误,调试器必须先复制到 Pi 才能启动。

我无法部署,因为它未激活,我无法启动它,因为我还没有部署任何东西。

如何解决这个问题 22?

我可以使用闪现的新 Windows IoT 图像重现您的问题。当我通过设备门户启动调试器时,确切的错误消息是:

Failed to start the Visual Studio Remote Debugger. The Remote Debugger needs to be copied to the device. This can be done by deploying an application to the device using Visual Studio.

因此您可以参考“Deploying an App with Visual Studio”教程,看看是否有帮助。它对我有用。

  • 在 Visual Studio 中打开应用程序,在工具栏下拉菜单中设置体系结构。对于 Raspberry Pi 3,select ARM。
  • 接下来,在 Visual Studio 工具栏中,单击本地计算机下拉菜单和 select 远程计算机。

从 Visual Studio 成功部署后,您将成功从设备门户启动调试器。 但如果您使用 visual studio debug/deploy,则无需通过设备门户启动调试器。