locked
Create App Package Bundle Creation Failed. Access is denied. RRS feed

  • Question

  • I'm trying to run Create App Packages in Visual Studio 2013 for my Windows 8.1 Store app. After validating my license and selecting the app name it fails with the following:

    1. Bundle creation failed.
    2. 0x80070005 - Access is denied.

    The file its referring in the Error List is MakeAppx.

    Sounds like a simple access restriction but I have no idea where the restriction is and I'm running as administrator anyway.

    Any help?

    Thanks.

    Tuesday, December 3, 2013 2:03 PM

Answers

  • No its not AV.

    I just managed  to get it to work. I had to give myself full control to the actual .appx file in the app packages folder. Very strange.

    Thursday, December 5, 2013 5:00 PM

All replies

  • Does this occur with any other project, such as a new, empty project?

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Tuesday, December 3, 2013 8:23 PM
    Moderator
  • I created a new empty project and get a slightly different error:

    Error 1 Task 'CreateAppStoreContainer' failed. Access to the path 'c:\users\drg\documents\visual studio 2013\Projects\App1\App1\AppPackages\App1_1.1.0.1_AnyCPU_Test\App1_1.1.0.1_AnyCPU.appx' is denied.
     App1

    The file exists and I have full control on file and folder so it doesn't make sense.

    Tuesday, December 3, 2013 11:34 PM
  • You might run Process Monitor and check the logs to see what it says about access to that location.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    • Proposed as answer by Dave SmitsMVP Wednesday, December 4, 2013 1:18 PM
    Wednesday, December 4, 2013 1:07 PM
    Moderator
  • I've done that and it doesn't seem like anything has a lock on it. I've reinstalled Visual Studio 2013 deleted the project folder and still have the issue. If you have any other help would be appreciated.
    Thursday, December 5, 2013 2:27 PM
  • Perhaps Anti-Virus?


    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Thursday, December 5, 2013 4:57 PM
    Moderator
  • No its not AV.

    I just managed  to get it to work. I had to give myself full control to the actual .appx file in the app packages folder. Very strange.

    Thursday, December 5, 2013 5:00 PM