Fail to run an app developed on desktop (Visual Studio 2015) on usb-connected “Surface 3”

会有一股神秘感。 提交于 2019-12-12 04:30:17

问题


I want to develop an application in Visual Studio 2015 on my desktop and run/test it on my Surface 3.

I created a Blank application (Universal Windows) and I can run it on “local machine” but when trying to run it on “Device” I get the following error

Error  DEP6200 : Bootstrapping failed. Device cannot be found. 0x89731810:
Deployment failed because no Windows Phone was detected. 
Make sure a phone is connected and powered on. App1   

Both are running Windows 10 version 1511 (Build 10586.164). The surface is connected with USB. The developer mode on the Surface 3 is activated. IpOverUsbSvc is running on the desktop.

Note that I don’t seem to find the Surface 3 in the Device Manager and when I plug it in, no attempt seems to be made to install drivers. This is probably the root cause so any advice to let "Device Manager" recognize the "Surface 3" would be appreciated


回答1:


To debug on a remote device such as a Surface 3, you need to install the Remote Debugging tools for Visual Studio 2015 then select the "Remote Machine" option, the "Device" option is reserved for Windows Phone and Windows 10 Mobile devices at the moment



来源:https://stackoverflow.com/questions/36396637/fail-to-run-an-app-developed-on-desktop-visual-studio-2015-on-usb-connected-s

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!