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.
In my case, app was installed by another user. After deleting it, error was gone.
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
.
In Windows 10 I toggled from "Developer mode" to "Sideload apps" and back to "Developer mode" and it started working again.
I had this mistake after I tried to package my UWP app. I solved the issue by
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.
I had package for upload to Store and fixed that bug in following way:
That's it!
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).
I solved the problem by changing the property of the Package.appxmanifest file: Copy to exit directory = Always Copy
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.
User contributions licensed under CC BY-SA 3.0