DeviceCompanionApplication (StoreManifest schema for Windows 10)
The DeviceCompanionApplication element contains all the configuration required to declare your app as a Microsoft Store device app.
Element hierarchy
- <StoreManifest>
- <DeviceCompanionApplication>
Syntax
<DeviceCompanionApplication>
<!-- Child elements -->
ExperienceId{1,500}
</DeviceCompanionApplication>
Key
{}
specific range of occurrences
Attributes and Elements
Attributes
None.
Child Elements
Child Element | Description |
---|---|
ExperienceId | The ExperienceId element specifies a GUID that links the device metadata to a device app that can be automatically acquired when the device is first connected. Each ExperienceId GUID corresponds to the ExperienceId element of a device metadata package. |
Parent Elements
Parent Element | Description |
---|---|
StoreManifest | Root node for the StoreManifest schema (for Windows 10). |
Remarks
When present, the DeviceCompanionApplication element must contain an ExperienceId element, which is described below.
Important Using the DeviceCompanionApplication element in StoreManifest.xml and submitting it with your app will declare your app as a device app in the Microsoft Store. This action cannot be undone in the same product release. If you wish to release this app without the features and constraints that are applied to device apps, you will need to create and submit a new release with an updated StoreManifest.xml file. For more info, see Microsoft Store device apps.
Examples
The following is an example of the DeviceCompanionApplication element that declares the app as a device app.
<DeviceCompanionApplication>
<ExperienceId>aeabdaa8-3bcd-4f03-a7f5-54647fd574c2</ExperienceId>
</DeviceCompanionApplication>
</ProductFeatures>
Requirements
Value | |
---|---|
Namespace | http://schemas.microsoft.com/appx/2015/StoreManifest |