Fail to run an app developed on desktop (Visual St

2019-09-16 15:21发布

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条回答
Bombasti
2楼-- · 2019-09-16 16:01

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

查看更多
登录 后发表回答