locked
Unable to package app on x64: Could not copy the file "obj\x64\Release\\project_name.xr.xml

    Question

  • I need help resolving the following error:

    Error   2   Could not copy the file "obj\x64\Release\\project_name.xr.xml" because it was not found.

    NOTE: This error does not occur when I package the same solution on x86. This only occurs on x64. In addition, this error is now exposed ever since I downloaded VS2012 Update 2.

    The project path that it's looking for is an invalid path anyway because of two backslahes (i.e. "\\").

    I'm not sure how to resolve this.

    Monday, June 30, 2014 10:34 AM

All replies

  • Perhaps you could try VS2013?  Are you writing only for Windows 8?


    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.

    Monday, June 30, 2014 7:40 PM
    Moderator
  • I've also tried VS2013 as well with all the relevant updates.

    All efforts were futile.

    Tuesday, July 01, 2014 1:01 AM
  • Does it do this with the solution on all machines?

    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, July 01, 2014 12:15 PM
    Moderator
  • I'm an independent developer.

    So I'm only developing off of my machine.

    NOTE:

    This error only occurs when creating an app package for x64.

    I am successful when generating an app package for x86.

    Tuesday, July 01, 2014 12:42 PM