Compartilhar via


MakeAppx : error : Error info: error 80080204: All app package manifests in a bundle must declare the same values under the XPath *[local-name()='Package']/*[local-name()='Dependencies'].

When building an appx bundle for an UWP for submission to the windows store you may get the following error:

MakeAppx : error : Error info: error 80080204: All app package manifests in a bundle must declare the same values under the XPath *[local-name()='Package']/*[local-name()='Dependencies'].

In my particular instance the problem was because of the "Any CPU" configuration in the solution.  Since you can't build an AnyCPU package for universal apps the makeappx.exe calls fail.  To resolve the issue I modified the solution file manually and removed all instances of the "AnyCPU" configuration.  After that repackaging the app for submission to the store ran without a hitch.