Reputation: 4387
I'm creating a new Windows Store app in visual studio. I can't seem to run any app I create though. Even a newly created, blank app gives me the error
Error : DEP0700 : Registration of the app failed. error 0x80070005: Opening file from location: C:\Users\Jacob\Documents\Visual Studio 2012\Projects\App1\App1\bin\Debug\AppX\AppxManifest.xml failed with error: Access is denied.
. (0x80070005) App1
Any ideas? I've checked the permissions of the AppxManifest.xml file and I have full control over it. I've also tried running visual studio under elevated permissions, and it still presents the same error.
Edit: Blend seems to have the same issues as visual studio, here's the output from blend:
Application installation failed.
Registering the application to run from layout...
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\AppxPackage\Microsoft.AppXPackage.Targets(1722,9): error : DEP0700: Registration of the app failed. error 0x80070005: Opening file from location: C:\Users\Jacob\Documents\Visual Studio 2012\Projects\booktest\booktest\bin\Debug\AppX\AppxManifest.xml failed with error: Access is denied.
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\AppxPackage\Microsoft.AppXPackage.Targets(1722,9): error : . (0x80070005)
Upvotes: 14
Views: 6683
Reputation: 399
My issue was that the solution folder was encrypted. I work at a place where encryption in certain folder locations is a default. I had to move the folder to a new location where the default did not exist. I then went to the solution folder, right clicked on the folder and selected -> properties -> Advanced. At the bottom is a checkbox that says "Encrypt contents to secure data". Uncheck that and say yes to all subfolders.
Upvotes: 1
Reputation: 1145
This error also occurs if you use the subst command on Windows to map a folder path to a drive letter.
Upvotes: 5
Reputation: 2497
Give full rights to the SYSTEM account to the folder with your source code.
Upvotes: 18
Reputation: 5715
Check your folder (C:\Users\Jacob\Documents\Visual Studio 2012\Projects\App1\App1\bin\Debug\AppX\AppxManifest.xml) security and make sure that you have full control access to that folder.
The second option is to move it to another drive, for example, D:\New Folder.
Upvotes: 0