Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error : DEP6200 : Bootstrapping 'Device' failed. Device cannot be found

I've read every StackOverflow that I could find on this issue, but I still can't work it out.

I'm trying to deploy an app to actual device (NOT emulator). But I receive the following error when i try to build:

Severity    Code    Description Project File    Line
Error       Error : DEP6100 : The following unexpected error occurred during bootstrapping stage 'Connecting to the device '30F105C9-681E-420b-A277-7C086EAD8A4E'.': 
SEHException - External component has thrown an exception.  App1

and

Severity    Code    Description Project File    Line
Error       Error : DEP6200 : Bootstrapping 'Device' failed. Device cannot be found.    App1    

It's worth mentioning that I went from Windows 7 to Windows 10. It's also worth mentioning that my computer was missing the IpOverUsbSvc.exe (not just the registry post, but the actual service was missing). Couldn't find any way to get this back so, so my colleague sent over the .exe and the DLLs and I placed it in it's location. And the service is now running and no longer gives any errors. My device is recognized by the PC, it's running Windows 10 Mobile (but I've also tried with a device running Windows 8.1).

Specs on PC:

  • Windows 10 Pro (Build 10240)
  • Using Visual Studio 2015
  • UWP Tools

Any suggestions to fix my nightmare? Thanks!

like image 723
Whyser Avatar asked Nov 11 '15 14:11

Whyser


1 Answers

Steps that helped me. I have windows 10 mobile build 10581 (and now 10586) installed on phone

  1. Turn off Developer mode on your phone.
  2. Deploy app (UWP or SL) by VS2015 -> Error.
  3. Turn on Developer mode on your phone.
  4. Deploy app (UWP or SL) by VS2015 -> Working.

If you change another device or re-connect you must close VS2015, re-launch and do again!

like image 117
Maxim Nikonov Avatar answered Sep 24 '22 19:09

Maxim Nikonov