Can't deploy window phone apps to Emulator. Error DEP6100 & 6200

一个人想着一个人 提交于 2019-12-21 12:21:08

问题


I create new default project Window Phone, then run it with Emulator Window Phone but it's not work however emulator started.

I use Window 8.1 64bit with Visual Studio Professional 2013 - Update 4

Error say:

  • Error 1 DEP6100 : The following unexpected error occurred during boostrapping stage 'Connecting to the device': SmartDeviceException - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
  • Error 2 DEP6200 : Boostrapping 'Emulator 8.1 WVGA 4 inch 512MB' failed. Device cannot be found. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

Help me Thanks !


回答1:


Did you try all these steps?

  • Closing Visual Studio
  • Going to the "Control Panel"
  • Selecting "Programs and Features"
  • Find "Windows Phone 8.1 Emulators - ENU" in the list
  • Click the "Change" button at the top or right-click and select "Change"
  • On the "Visual Studio" window that appears; select "Repair"
  • Wait for the process to complete, and re-open Visual Studio
  • Run the emulator again

Or else check out for more here: Windows phone 8.1 emulator not loading OS

Windows phone 8.1 Emulator launching issue




回答2:


I had this same error... I'll start by saying that reloading Visual Studio 2013 and Windows Phone SDK 8.0 did not fix my issue. What did correct my issue was creating a blank project within the Visual Studio Express 2012 for Windows Phone and deploying the project. Then I went into Visual Studio 2013 and tried deploying my project again and voila, it worked. Why, I have no idea. My guess is there is a file or configuration that is set up by VS Express for WP.




回答3:


For error DEP6100 on Windows 10 Emulators 10.0.1.0 (1081p 2gb)

You should Delete all (VHD and AVHD) files in: C:\Users\MyUserName\AppData\Local\Microsoft\XDE\10.0.1.0\

All will be recreated when the emulator will restart. Replace MyUserName by you user name. Should work with other emulators (you could check your local Hyper-V to find the right path) See you :)




回答4:


I had your same problem and after many attempts resolved it this way:

  • Deactivate Hyper-V (and restart computer).
  • Go in the Device Manager and open the Network Adapters, here uninstall everything with the name "Hyper-V...", this will allow us to reactivate Hyper-V without any conflict.
  • Activate Hyper-V (and restart computer).


来源:https://stackoverflow.com/questions/27684092/cant-deploy-window-phone-apps-to-emulator-error-dep6100-6200

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!