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

后端 未结 13 999
孤城傲影
孤城傲影 2020-12-02 22:47

Exact error:

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

<
相关标签:
13条回答
  • 2020-12-02 23:27

    For Windows 10 (desktop) users

    I faced this problem after I uninstalled Windows 10 SDK. It deleted the IpOverUsbSvc service from the system.

    Solution

    1. Download the Windows 10 SDK .iso installer

    2. Inside it there is Installers folder.

    3. Find Windows IP Over USB-x86_en-us.msi. Install it. (Don't worry if there is no setup window, it installs fast and silently).

    4. I didn't even have to reboot VS2015, it just worked.

    5. Check if the IpOverUsbSvc service is running

      • Open a Powershell prompt and type Get-Service -Name *USB*
      • Or go to the Services window. There you should see the IpOverUsbSvc running.
    0 讨论(0)
  • 2020-12-02 23:31

    After trying some of the answers already provided and nothing worked, I fixed the error by simply restarting the phone. After that the error was gone for me.

    0 讨论(0)
  • 2020-12-02 23:31

    I had the same issue, and found that in my case it was occurring while the phone was downloading system updates in the background. App updates/installations from the app Store were also prevented from downloading/installing.

    After the update had finished, all was back to working again.

    As Windows Phone 10 doesn't seem to make it obvious that it's downloading updates, maybe worth checking this out if you hit this problem.

    0 讨论(0)
  • 2020-12-02 23:31

    I had the same error, solution is here: https://msdn.microsoft.com/ru-ru/library/windows/apps/jj863509(v=vs.105).aspx Look at Checking BIOS settings required by Hyper-V for Data Execution Prevention. You must select "Turn on DEP for all programs and services except those i select" and in my case application deploys successfully.

    0 讨论(0)
  • 2020-12-02 23:32

    For me, it was as simple as unlocking the phone so that the computer would have access to it.

    0 讨论(0)
  • 2020-12-02 23:38

    I had the same error with deploying onto Windows Phone 8.1 device. In my case the problem was in Windows Phone IP over USB Transport (IpOverUsbSvc) service, which wasn't running. The deployment error disappeared after I'd started the service manually.

    0 讨论(0)
提交回复
热议问题