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.

When you deploy your project, you get the following error.  
Followed by this error. 

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

This error occurs when Visual Studio does not have write 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.

  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.

Up Next
    Ebook Download
    View all
    View all