【问题标题】:How to debug Xamarin application on a Windows tablet from Visual Studio?如何从 Visual Studio 调试 Windows 平板电脑上的 Xamarin 应用程序?
【发布时间】:2019-06-04 08:58:29
【问题描述】:

我使用 Xamarin 构建了跨平台应用程序,我可以从 Visual Studio 为 iOS 和 Android 调试它,有没有办法为 Windows 平板电脑调试相同的代码。

我尝试了远程调试,但我的应用程序从未在正在运行的应用程序列表中列出。

【问题讨论】:

  • 您应该在您的 xamarin.froms 中添加一个 UWP 项目。并使您的 PC 和平板电脑连接到同一个 WiFi 网络。

标签: visual-studio xamarin uwp remote-debugging


【解决方案1】:

为了能够在远程设备上调试 UWP 应用,您必须install the Remote Tools。这需要运行,以便设备可被发现并可用于调试。

您可以从here 下载工具。如果您在发现设备时遇到任何问题,请考虑浏览整个文档页面 here。还有一个故障排除部分可能会有所帮助。

【讨论】:

    猜你喜欢
    • 2022-12-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-02-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多