Overriding a package manifest (Windows Store apps)

The package build process transforms the source manifest (.appxmanifest) file into the target manifest (AppxManifest.xml) file that is included in the package contents. This transformation can introduce changes into the manifest. You can override this transformation by providing your own target manifest file.

To override the package manifest

  1. In Solution Explorer, open the shortcut menu for the project name, choose Add, and then choose New Item.

  2. In the Add New Item dialog box, choose XML File, and name the file AppxManifest.xml.

    This file must be in the root of the project rather than in a subfolder.

  3. Edit the rest of the AppxManifest.xml file to match the requirements of your app. For more information, see How to create a package manifest manually (Windows) and How to create a basic package manifest (Windows).

    Note

    The Subject field of the certificate (.pfx) file must match the Publisher attribute of the Identity element. If these values don’t match, update the manifest to match the certificate file, or change the certificate file as the following section describes.

  4. Delete the Package.appxmanifest file, or Exclude it from the project.

See Also

Concepts

Packaging your Windows Store app using Visual Studio 2012

Signing an app package (Windows Store apps)