gpt4 book ai didi

visual-studio - Windows 10 中的 USB 调试到平板电脑?

转载 作者:行者123 更新时间:2023-12-04 08:55:05 25 4
gpt4 key购买 nike

我正在固定 PC 上开发 Windows 10 应用程序。我还有一台 Windows 10 平板电脑,一旦通过 USB 连接到 PC,就看不到调试(
如何使其可访问?

最佳答案

好的,所以我找到了一篇文章,重点介绍了如何使用电缆在 Surface pro 上调试 UWP 应用程序:
本质上,Visual Studio 调试器希望通过网络调试您的应用程序,因此您正在台式机和 Surface Pro 之间创建网络。
以下是突出显示主要步骤的指南
https://tomsoderling.github.io/Wired-Debugging-on-Surface/

Hardware Needed

In order to debug over a wired connection, you’ll need a few things:

  • 2 USB to Ethernet dongles. You can find them for pretty cheap onAmazon.

  • A length of cat 5 cable to connect the two dongles together.

Connect the dongles together with the ethernet cable, and plug onedongle into your laptop and the other into the Surface.


在您的表面上启动远程调试器程序并配置以下内容:

No Authentication

Turning this off seems to alleviate a lot of thehassle of trying to get the debugger to connect to the remote clientapp. I debug on a private or wired network and only have the remoteclient running when I need to debug, so the lack of security doesn’tconcern me here.

Allow any user to debug

I use this setting becausedon’t log into my Windows 10 VM via Parallels so I’ve had an issuewith that. I also use this when my coworker needs to debug on theSurface.


然后你的设备应该可以在 Visual Studio 的自动发现中找到

关于visual-studio - Windows 10 中的 USB 调试到平板电脑?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32165318/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com