Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Identity
Defines a globally unique identifier for a package. A package identity is represented as a tuple of attributes of the package.
Element hierarchy
<Package>
└─ <Identity>
Syntax
<Package
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10">
...
<Identity
Name = 'A required value. <!-- TODO: Add description for t:ST_PackageName -->'
ProcessorArchitecture = 'An optional string that can have one of the following values: "x86", "x64", "arm", "arm64", "x86a64", or "neutral".'
Publisher = 'A required value. <!-- TODO: Add description for t:ST_Publisher_2010_v2 -->'
Version = 'A required version string in quad notation, major.minor.build.revision, e.g. 1.2.3.4.'
ResourceId = 'An optional value. <!-- TODO: Add description for t:ST_ResourceId -->' />
</Package>
Attributes
| Attribute | Description | Data type | Required | Default value |
|---|---|---|---|---|
| Name | Describes the contents of the package. The Name attribute is case-sensitive. Use the DisplayName attribute to display a package name to users. | A value. | Yes | |
| ProcessorArchitecture | Describes the architecture of the code contained in the package. A package that includes executable code must include this attribute. | An optional string that can have one of the following values: x86, x64, arm, arm64, x86a64, neutral. | No | |
| Publisher | Describes the publisher information. The Publisher attribute must match the publisher subject information of the certificate used to sign a package. For more information see Packaging apps. | A value. | Yes | |
| Version | The version number of the package. | A version string in quad notation, major.minor.build.revision, e.g. 1.2.3.4. | Yes | |
| ResourceId | Describes the type of UI resources contained in the package. The ResourceId is a publisher-specified string. | An optional value. | No |
Child elements
None.
Parent elements
| Parent element | Description |
|---|---|
| Package | Defines the root element of an app package manifest. The manifest describes the structure and capabilities of the software to the system. |
Requirements
| Item | Value |
|---|---|
| Namespace | http://schemas.microsoft.com/appx/manifest/foundation/windows10 |
| Minimum OS Version |
Remarks
Examples
This example is from the app manifest file of the App package information sample on GitHub.
<Identity
Name="Microsoft.SDKSamples.PackageSample.CS"
Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"
Version="1.0.1.0" />
Feedback
Was this page helpful?
