Dependencies (StoreManifest schema for Windows 10)

Declares requirements that a package depends on to be applicable to a device.

Element hierarchy

<StoreManifest>
<Dependencies>

Syntax

<Dependencies>

  <!-- Child elements -->
  ( TargetDeviceFamily*
  | MemoryDependency?
  | DirectXDependency?
  )+

</Dependencies>

Key

?   optional (zero or one) *   optional (zero or more) +   required (one or more)

Attributes and Elements

Attributes

None.

Child Elements

Child Element Description
DirectXDependency

Identifies the minimum DirectX level that a device must support in order for your package to run properly.

MemoryDependency

Identifies the minimum memory that a device must have in order for your package to run properly.

For desktop devices, the value indicates the requirement for installed memory. Available memory is not considered.

For mobile devices, the value indicates the requirements for available memory. The equivalent requirements for installed memory on mobile devices are as follows:

  • 300MB = device must have at least 1 GB of installed memory
  • 750MB = device must have at least 2 GB of installed memory
  • 1000MB = device must have at least 3 GB of installed memory
  • 2000MB = device must have at least 4 GB of installed memory

For example, if you specify that your UWP app requires 300 MB to run properly, it will only be able to be installed on mobile devices with >1 GB of RAM or on desktop devices with >300 MB of RAM.

TargetDeviceFamily

Identifies the device family that your package targets.

Important  In most cases, you should simply specify your device families in the [TargetDeviceFamily](../../appxpackage/uapmanifestschema/element-targetdevicefamily.md) element of your AppxManifest. Values here should only be used if you need to override that info (using a subset of the values provided there).
 

 

Parent Elements

Parent Element Description
StoreManifest

Root node for the StoreManifest schema (for Windows 10).

 

Requirements

Value
Namespace http://schemas.microsoft.com/appx/2015/StoreManifest