Can't Deploy Universal App to Windows Phone 10 Technical Preview

kernanb picture kernanb · Aug 11, 2015 · Viewed 11.3k times · Source

Here's the details:

  • Created a blank Universal Windows App in Visual Studio 2015
  • Set to ARM, Debug
  • Attempt to deploy to a Lumia 925 Running Windows 10.0.10166.0
  • Phone is in 'Developer Mode'
  • I unlocked the phone using the Windows Phone Developer Registration (8.1) tool. Do I need one for Win10?
  • I first get the following error:

    Error : DEP3321 : To deploy this application, your deployment target should be running Windows Universal Runtime version 10.0.10240.0 or higher. You currently are running version 10.0.10166.0. Please update your OS, or change your deployment target to a device with the appropriate version.

Now I found a solution for this first error here so I changed the following in the App1.csproj file:

<TargetPlatformMinVersion>10.0.10240.0</TargetPlatformMinVersion>

to

<TargetPlatformMinVersion>10.0.10166.0</TargetPlatformMinVersion>

Now I get the following error when I try and deploy the app to the phone and I can't find a solution:

Error : DEP0001 : Unexpected Error: Element not found. (Exception from HRESULT: 0x80070490)

Anyone have any idea how to resolve this? I can deploy the app fine to the emulator, just not to my physical phone running Windows 10.

Answer

EduLopez picture EduLopez · May 4, 2016

For me I had to turn on the Windows Phone ip over USB Transport

go to run -> services.msc -> [look for it].