Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error DEP0700 : Registration of the app failed. on windows 10 on a macbook (dualboot)

I'm trying to work from home on a UWP project, on a macbook with dualboot using windows 10, in visual studio 2015.

(So it's not on a virtual machine, which is what I find everywhere when looking for this problem)

I thought I have everything correctly set up, but when I try to run the project, I get the error:

Error DEP0700 : Registration of the app failed. Rejecting a request to register from AppxBundleManifest.xml because the manifest is not in the package root. (0x80073cf9) Ambiorix.UWP

Windows is set to developer mode, and I have the windows 10 anniversary update installed. And the file Package.appxmanifest is in fact in the root of the project. Which I was told is the manifest it is complaining about (or contains it? I don't know much about manifest files)

I have no clue at to what might be causing this, any help much appreciated.

If you need more info, just tell me, I just don't know what else to add.

like image 551
Steven Avatar asked Feb 03 '17 09:02

Steven


4 Answers

I had a similar error, in deploying a blank UWP project (created with the Blank App (Universal Windows)) template.

DEP0700: Registration of the app failed. [0x80073CF0] error 0x80070003: Opening file from location: AppxManifest.xml failed with error: The system cannot find the path specified..

After reading the answers here I had hunch that the problem may have been that he project was on a network drive. So, first I created the same project on the local hard drive (under C:\Users...), and it ran OK.

To fix the project on the network drive, I edited the Project -> Properties -> Debug and set the Target device to Remote Machine, the Remote machine to Localhost and the Authentication Mode to Windows.

like image 143
Stephen Hosking Avatar answered Nov 12 '22 00:11

Stephen Hosking


In my case, app was installed by another user. After deleting it, error was gone.

like image 44
Dmitry Andreev Avatar answered Nov 11 '22 22:11

Dmitry Andreev


In Windows 10 I toggled from "Developer mode" to "Sideload apps" and back to "Developer mode" and it started working again.

like image 6
Matt Avatar answered Nov 11 '22 22:11

Matt


In my case, there was a conflicting package installed under a different name, probably from a Visual Studio debug session.

To find all packages, I ran

Get-AppxPackage -AllUsers > out.txt

I found the conflicting package there by the publisher name. Then I removed it:

Remove-AppxPackage -AllUsers 5211b96d-a951-4e83-87f9-ef1af6cf7c97_2.0.11.0_x64__mgqd55e5kfvyj

After that, I could launch the app from Visual Studio.

like image 2
Peter Avatar answered Nov 12 '22 00:11

Peter