Opening file from location: AppxManifest.xml failed with error: Access is denied.

I recently started getting this error while running my new Universal Windows App. I was using Visual Studio 2015 Update 3 on Windows 10 Pro.

Error

When you deploy your project, you get the following error.

Microsoft visual studio

Followed by this error.

Entire solution

Reason

As you can see from the description of the error, opening the file from the location, access is denied.

This error occurs when Visual Studio does not have written permission on the folder where your project files are.

There may be one of the following reasons

Your project is in a folder that does not have admin permissions.

OR your files are corrupt and Visual Studio can’t read and/or overwrite files.

Solution

  1. First, try Rebuilding your solution.
  2. Still does not work, Close Visual Studio. Go to your project folder. Right-click and make sure the account (usually SYSTEM) that is running Visual Studio has full rights on the folder.


Similar Articles
Mindcracker
Founded in 2003, Mindcracker is the authority in custom software development and innovation. We put best practices into action. We deliver solutions based on consumer and industry analysis.