Search code examples
visual-studio-2015windows-phoneuwpwindows-10-mobile

Cannot deploy Windows 10 UWP App to Device


So I'm trying to start Windows Mobile 10 development. Every single time I try to deploy my app to my phone, I get the following error:

DEP0001 : Unexpected Error: -2147023436

Which seems to be at timeout error. I've taken a number of steps to combat it, but nothing seems to work. Here's what I have/have done:

  • Windows 10 version 1511 (10586.420) deployed to a VMWare Player VM.
  • Lumia 640 (AT&T Go Phone, not activated with AT&T as I just want to develop with it), upgraded to Version 1607 (10.0.14385.0) using the Windows Insider app (fast ring). I tried the slow ring and preview versions as well, same error each time. I should note that the default Upgrade OS option wouldn't upgrade to Windows 10 for me even though I've read that AT&T has pushed the update out for 640's. I have no idea why, but maybe that's important.
  • 14383 SDK installed on VM (I cannot seem to find 14385 SDK available to download?)
  • IP over USB service is running
  • Visual Studio 2015 Enterprise Update 3 14.0.25421.03
  • Phone is visible to VM. I can open it in Windows Explorer and manipulate files on it.
  • Phone is in Developer mode. USB connections to local network is on. Device Portal is on.

I really have no idea what could be wrong. Any ideas?


Solution

  • So it appears that it may have been the fact that I was running in a VM. I tried running the VM on two other machines, nothing worked. Finally found a computer with Windows 10 on it and tried running my solution directly, and voila, it works.

    So I guess Visual Studio is currently incapable of deploying stuff to a phone if it's running in a VM? I don't know.