问题
I'm trying to create an UWP app for some old windows 10 mobile phones and deploy/debug them via USB.
I'm using Visual Studio 2017 and have set the target version to Build 10586 (to stay below 14393).
When I try to debug (freshly created UWP blank app, settings: Debug, ARM, Device), the deployment fails with this error:
DEP0100: Please ensure that target device has developer mode enabled. Could not obtain a developer license due to error 800704C7.
Just before the failure the developer settings of my local machine pop up, so I have the feeling it is trying to deploy to my local windows 10 machine instead of the phone.
来源:https://stackoverflow.com/questions/59825400/deploy-debug-app-to-windows-10-mobile-phone-via-usb