Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
573 views
in Technique[技术] by (71.8m points)

deployment - 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!

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...