Publishing a .NET MAUI app fails with error message "You must include a valid app package manifest file named AppxManifest.xml in the source."

Andreas Stavropoulos 0 Reputation points
2025-07-03T08:53:59.06+00:00

I'm trying to publish a .NET MAUI app.

The source code contains a "Package.appxmanifest" file.
When I try to publish, it fails with the following error messages:

  • You must include a valid app package manifest file named AppxManifest.xml in the source.
  • 0x80080203 - The specified package format is not valid: The file is not a valid app package because it is missing a required footprint file.
  • Package creation failed.

What could be wrong?

I'm using Visual Studio 2022 version 17.14.6

Developer technologies | Universal Windows Platform (UWP)
{count} votes

1 answer

Sort by: Most helpful
  1. Patricia Horne 0 Reputation points
    2025-07-03T10:00:34.7+00:00

    Your project has a file called Package.appsmanifest, but it needs a file named Package.appxmanifest to work. Without it, Windows can’t build the app package.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.