Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DEP0001 : Unexpected Error: -1988945906 while deploying Windows UWP app to phone

Exact error:

Severity Code Description Project File Line Suppression State Error DEP0001 : Unexpected Error: -1988945906 TestApp

What does it mean? It seems it isn't problem with application, it works OK on PC.

Version of OS: 1511, Windows 10 for phones 10.0.10586.164

like image 611
Piotrek Avatar asked Apr 03 '16 10:04

Piotrek


2 Answers

I've experienced the same problem after updating Visual Studio community to Update 2. Typing in CMD (under admin rights) the following command solved my issue:

net start IpOverUsbSvc 

Thanks to Agrgg for a good tip ;)

like image 83
Paradowski Avatar answered Sep 28 '22 09:09

Paradowski


This kind of error happens very randomly and usually it means there was an issue during the deployment of the app. Things to check:

  • Developer mode is correctly enabled on phone
  • Uninstall the app from phone, rebuild solution and then try debug again
  • Check that the architecture for all projects is set accordingly (ARM for debugging on real device)
  • Sometimes the VS debugger hangs up, so closing VS and kill from Task Manager all VS processes that are eventually running and restart VS may also help.
like image 39
Tommaso Scalici Avatar answered Sep 28 '22 09:09

Tommaso Scalici