Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't access newly created projects in visual studio

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)
like image 817
jjcm Avatar asked Oct 17 '12 05:10

jjcm


People also ask

How do I access Visual Studio projects?

Open Visual Studio 2019 version 16.8 or later. On the start window, select Open a project or solution. Visual Studio opens an instance of File Explorer, where you can browse to your solution or project, and then select it to open it.

How do I start a new project in VS Studio?

If the Visual Studio development environment is already open, you can create a new project by choosing File > New > Project on the menu bar. You can also select the New Project button on the toolbar, or press Ctrl+Shift+N.

How do I open a new C# project in Visual Studio?

Open Visual Studio, and choose Create a new project in the Start window. In the Create a new project window, select All languages, and then choose C# from the dropdown list. Choose Windows from the All platforms list, and choose Console from the All project types list.

How do I see all project files in Visual Studio?

Open your project in Visual Studio > click the Show All Files button > expand the bin , Debug > select and right-click the parent folder > choose Include in Project option. 4).


1 Answers

Give full rights to the SYSTEM account to the folder with your source code.

like image 198
Jan Zahradník Avatar answered Oct 25 '22 17:10

Jan Zahradník