PackageIdentity

MBAE deprecation warning

Important

Starting in Windows 10, version 1803, the MBAE app experience is replaced by an MO UWP app. For more information about MO UWP apps, see UWP mobile broadband apps.

The PackageIdentity element specifies a UWP device app that should appear as the recommended AutoPlay action when a user plugs in a device.

Usage

<PackageIdentity Name=”tns:PackageNameType” Publisher=”tns:PublisherType” />

Attributes

Attribute Type Required Description

Name

tns:PackageNameType

Yes

Copy this element from the Name attribute of the app manifest's Identity element, described in Remarks.

Publisher

tns:PublisherType

Yes

Copy this element from the Publisher attribute of the app manifest's Identity element, described in Remarks.

Child elements

There are no child elements.

Parent elements

Element Description

AutoplayHandler

Specifies a UWP device app that should appear as the recommended AutoPlay action when a user plugs in a device.

XSD

<xs:element name="PackageIdentity" type="tns:PackageIdentityType" />

  <xs:complexType name="PackageIdentityType">
    <xs:attribute name="Name" type="tns:PackageNameType" use="required" />
    <xs:attribute name="Publisher" type="tns:PublisherType" use="required" />
  </xs:complexType>

  <xs:simpleType name="PackageNameType">
    <xs:restriction base="tns:AsciiIdentifierType">
      <xs:minLength value="3"/>
      <xs:maxLength value="50"/>
    </xs:restriction>
  </xs:simpleType>

  <xs:simpleType name="PublisherType">
    <xs:restriction base="tns:DistinguishedNameType">
      <xs:maxLength value="8192"/>
    </xs:restriction>
  </xs:simpleType>

Remarks

Copy the Name and Publisher attributes from the application manifest's <Identity> element after the app has been associated with the Microsoft Store, because the process of associating your app will update the app manifest.

Here is an example of how the <Identity> element may look inside an app manifest.

<Identity Name="64022FABRIKAM.FabrikamDeviceApp" Publisher="CN=05558413-FFF6-4AA5-8176-AD43036533FA" Version="1.0.0.0" />

The PackageIdentity element is optional.