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

17

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.

uwp
windows-10
appxmanifest
asked on Stack Overflow Feb 3, 2017 by Steven • edited Sep 5, 2017 by Vadim Kotov

9 Answers

14

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

answered on Stack Overflow Sep 12, 2017 by Dmitry Andreev
13

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.

answered on Stack Overflow Mar 26, 2018 by Stephen Hosking • edited Mar 26, 2018 by Stephen Hosking
6

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

answered on Stack Overflow Aug 12, 2017 by Matt
0

I had this mistake after I tried to package my UWP app. I solved the issue by

  1. Unloading my project
  2. removing the appxbundle related tags from the project file
  3. and just to be sure I afterwards clicked on the app project and click "add existing file", then I selected my manifest file
answered on Stack Overflow Apr 11, 2018 by 7gegenTheben
0

I did the toggle between developer mode to sideload apps and back again as described by Matt - (search for Developer Features in Windows 10 to do that) - but then I got a new error "...unexpected host id encountered...".

I then changed the Solution Platform to x64 and my app started.

answered on Stack Overflow Feb 6, 2019 by AH.
0

I had package for upload to Store and fixed that bug in following way:

  1. Rename .appxupload to .zip and extract files
  2. Double-click .appxbundle
  3. When app will be installed, remove it

That's it!

answered on Stack Overflow Mar 7, 2019 by Oleg
0

It turns out that the 0x80074CF6 error code toghether with the DEP0700 error can be a very misleading one as it can refer to a lot of things. I'll add what my problem for a simple, empty UWP project was (for which I did some slight modifications in the app manifest file for changing name, tiles, logo, etc.), maybe it helps someone else.

Turns out that for me, the error was actually due to failing to correctly locate and load up the splash screen image. To make things even weirder, I restarted the computer and started up VS2017 as Admin and got the full error message as:

"Severity Code Description Project File Line Suppression State Error DEP0700: Registration of the app failed. [0x80073CF6] AppxManifest.xml(66,27): error 0x80070002: Cannot install or update package Microsoft.SkypeUwpStub_daxd5377s5hcj because the splash screen image [SplashScreen.png] cannot be located. Verify that the package contains an image that can be used as a splash screen for the application, and that the package manifest points to the correct location in the package where this splash screen image can be found. SkypeUwpStub "

Fixing it was pretty straightforward. I forgot to properly reference the Assets images from the actual folder on the disk (where I physically copied some asset files).

answered on Stack Overflow Jul 11, 2019 by barca_d
0

I solved the problem by changing the property of the Package.appxmanifest file: Copy to exit directory = Always Copy

answered on Stack Overflow Aug 5, 2019 by ed junior
0

I had the same error, which turned out to be due to separate installations of my app on the same computer but under different accounts.

answered on Stack Overflow Oct 15, 2019 by Dmitri P

User contributions licensed under CC BY-SA 3.0