Search code examples
visual-studio-2015win-universal-appwindows-10-mobile

Cannot debug on Windows 10 Phone (build 10572)


I'm trying to debug a Universal Windows 10 app on my Windows 10 Phone, but it keeps giving me this error:

1>------ Deploy started: Project: PasswordsUniversal, Configuration: Debug     ARM ------
1>Error : DEP6100 : The following unexpected error occurred during  bootstrapping stage 'Connecting to the device '3334F9-6231E-310b-A221-7B036E23D4A4E'.': 
1>SEHException - External component has thrown an exception.
1>Error : DEP6200 : Bootstrapping 'Device' failed. Device cannot be found. 
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========

I already uninstalled the phone from my computer, and I restarted both devices. What else can I do? Thanks in advance.


Solution

  • I finally discovered the root of the problem: I am using Windows 10 Mobile Insider Preview, so I have the latests patches for my cell phone, and I wasn't using the latest SDK. Make sure to have the latest version of the SDK when using the Insider Preview.