14
votes

I'm trying to debbuging my app on real device (lumia 830 with windows 10 mobile 10.0.10581.0) Developer Mode is ON on both devices (mobile and PC), but when i'm trying to emulate app on my device I've got an error (DEP6100 and DEP6200). However i can easily emulate on emulators and my PC. Can't understand what's the problem.

Has anyone been able to successfully deploy a UWP app on phone and debug it? How to register your phone for development for Windows 10 mobile?

3

3 Answers

26
votes

I faced the same problem yesterday and I solved applying this:

  • Create a Registry Key in: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SirepClient] (Probably you will need to create it)
  • Create a dword with name "DisableProtocol3" and value 00000001
  • Restart Visual Studio and try deploying the solution back again.

Registry

IMPORTANT: It's a provisional solution meanwhile a patch is included in Windows 10 mobile. We will have to consider deleting this key after that.

Solution found here.

0
votes

I've faced similar problem few days ago. It turned out that Emulators and SDK version must match the Insider preview build on your device.

Try to download both of them: emulators and SDK from here, in my case it worked like a charm.

As for registering device for developement - it's not needed any more. Starting from Windows 10 all devices have 'developer unlock' in settings.

0
votes

This problem may be caused by development environment, such as VS version, SDK version, etc. Please update your SDK version and phone OS version to the latest one, and I recommend you to use VS2017 to develop Windows 10 apps. I have met this problem when I used VS2015.