Resource (Bundle schema, descendant of Packages)

Declares language, resolution scale, and DirectX feature level for a resource in the package.

Element hierarchy

<Bundle>
<Packages>
<Package>
<Resources>
<Resource>

Syntax

<Resource Language?       = language
          Scale?          = "100" | "120" | "140" | "150" | "160" | ...
          DXFeatureLevel? = "dx9" | "dx10" | "dx11" />

Key

?   optional (zero or one)

Attributes and Elements

Attributes

Attribute Description Data type Required Default value
DXFeatureLevel

The DirectX feature level for the resource.

This attribute can have one of the following values:

  • dx9
  • dx10
  • dx11
No
Language

The language for the resource. The syntax of this attribute is defined by the IETF's BCP47: Tags for Identifying Languages .

language No
Scale

The resolution scale for the resource.

This attribute can have one of the following values:

  • 100
  • 120
  • 140
  • 150
  • 160
  • 180
  • 225
No

 

Child Elements

None.

Parent Elements

Parent Element Description
Resources

Declares languages, resolution scales, and DirectX feature levels for the resources that the package contains.

 

Requirements

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