TargetDeviceFamily (Bundle schema, descendant of Packages)

Identifies the device family that a package targets. For more info about device families, see Programming with extension SDKs.

Element hierarchy

<Bundle>
<Packages>
<Package>
<Dependencies>
<TargetDeviceFamily>
<TargetDeviceFamily
    Name = 'An alphanumeric string that can contain period and dash characters.'
    MinVersion = 'A version string in quad notation ("Major.Minor.Build.Revision"), where Major cannot be 0.'
    MaxVersionTested = 'A version string in quad notation ("Major.Minor.Build.Revision"), where Major cannot be 0.' />

Attributes and elements

Attributes

Attribute Description Data type Required Default value
Name The name of the device family that your app is targeting. An alphanumeric string that can contain period and dash characters. Yes
MinVersion The minimum version of the device family that your app is targeting. Used for applicability at deployment time. If the device family version of the system is lower than MinVersion, then the app is not considered applicable. A version string in quad notation (Major.Minor.Build.Revision), where Major cannot be 0. Yes
MaxVersionTested The maximum version of the device family that your app is targeting that you have tested it against. This is used at runtime to determine the effective process space for quirks. A version string in quad notation (Major.Minor.Build.Revision), where Major cannot be 0. Yes

Child elements

None.

Parent Elements

Parent Element Description
Dependencies

Declares dependencies that will be installed if required.

 

Requirements

Value
Namespace http://schemas.microsoft.com/appx/2018/bundle