Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Pro 2015: Error DEP6100

I'm having issue on Visual Studio Pro 2015 when trying to debug (ARM Solution Platform selected) on a Windows 10 Mobile physical device on my desktop.

The physical device: Nokia Lumia 920 OS Build 10.0.10586.36 (Developer mode) (device not in lock screen and is powered on)

My Desktop: Windows 10 Pro, Intel Core i5-4670K 8GB RAM 64-bit OS Build 10.0.10586.36 (Developer mode)

I do not have this issue on my laptop using the same Nokia Lumia 920.

Severity Code Description Project File Line Suppression State Error Error : DEP6100 : The following unexpected error occurred during bootstrapping stage 'Connecting to the device '30F105C9-681E-420b-A277-7C086EAD8A4E'.': DeviceException - Deployment failed because no Windows Phone was detected. Make sure a phone is connected and powered on. App1

Error Error : DEP6200 : Bootstrapping 'Device' failed. Device cannot be found. Deployment failed because no Windows Phone was detected. Make sure a phone is connected and powered on. App1

So far I've tried restarting both devices and re-installing Visual Studio 2015.

EDIT: So after I've tried the proposed solution, this is what I got even for my emulator. Tried re-installing and repairing, nothing works.

Severity Code Description Project File Line Suppression State Error Error : DEP6100 : The following unexpected error occurred during bootstrapping stage 'Connecting to the device '8BDF218D-FDBB-4A97-90F9-3AA33B559A92'.': DeviceException - The system cannot find the file specified. App1

Error Error : DEP6200 : Bootstrapping 'Mobile Emulator 10.0.10240.0 WVGA 4 inch 512MB' failed. Device cannot be found. The system cannot find the file specified. App1

like image 981
Daniel Vong Avatar asked Dec 11 '22 19:12

Daniel Vong


2 Answers

I was able to solve the emulator issue by Installing a newer version of Microsoft Emulator for Windows 10 mobile from https://dev.windows.com/en-us/downloads/sdk-archive.

Next I'll try deleting the driver from device manager and if that fails, I'll restoring my device to factory defaults, enable developer mode, and try again to deploy on a physical device.

EDIT: As for the device issue, I deleted the drivers from Device Manager and now I'm able to deploy my apps onto the physical device.

Lumia 920 Driver

like image 115
Daniel Vong Avatar answered Feb 03 '23 17:02

Daniel Vong


The solution is your project need to be deployed first, but may be Emulator 10.0.14393 can't work as good as you want. Following below step can help you.

  1. Turn off Hyper-V
  2. Device Manager: Uninstall Hyper-V driver
  3. Restart
  4. Download Emulator (Version 10.0.10586.11): https://go.microsoft.com/fwlink/p/?LinkId=698769
  5. Restart
  6. Deploying project by Emlulator ver 10586
  7. Deploying in higher emulator version or real device.

It was successful with me!

like image 24
Tấn Nguyên Avatar answered Feb 03 '23 15:02

Tấn Nguyên