description | Search.Product | title | ms.assetid | keywords | ms.topic | ms.date |
---|---|---|---|---|---|---|
Declares other packages that a package depends on to complete its software (Windows 10). |
eADQiWindows 10XVcnh |
Dependencies (Windows 10) |
a1e745c9-a804-42cf-a107-7fb860cc8289 |
windows 10, uwp, schema, package manifest |
reference |
04/05/2017 |
Declares other packages that a package depends on to complete its software.
<Dependencies>
<Dependencies>
<!-- Child elements -->
TargetDeviceFamily{1,128},
PackageDependency{0,128},
uap3:MainPackageDependency{0,1},
uap5:DriverDependency{0,1000},
uap7:OSPackageDependency{0,1000},
uap10:HostRuntimeDependency{0,128},
win32dependencies:ExternalDependency{0,128}
</Dependencies>
{}
specific range of occurrences
None.
Child element | Description |
---|---|
PackageDependency | Declares a dependency on another package that is marked as a framework package. |
TargetDeviceFamily | Identifies the device family that your package targets. For more info about device families, see the Guide to UWP apps. |
uap3:MainPackageDependency | Specifies the main app package to which this supplemental package applies. |
uap5:DriverDependency | Contains the driver constraint information for a UWP app. If DriverDependency is used, the specified driver must be present for the app to load. |
uap7:OSPackageDependency | Defines a package dependency for a UWP app. |
uap10:HostRuntimeDependency | Defines a dependency on a host app package for the current app package. |
win32dependencies:ExternalDependency | Specifies an external dependency that is not included in the MSIX but will be chain installed as part of the app installation. |
Parent element | Description |
---|---|
Package | Defines the root element of an app package manifest. The manifest describes the structure and capabilities of the software to the system. |
Dependencies must be explicitly defined. If a dependency cannot be resolved, deployment of the package fails. By default, a package cannot take a dependency on another package if the dependency package is not declared to be a framework or resource package. Set Framework to true to declare a framework package and ResourcePackage to true to declare a resource package.
The total count of uap7:OSPackageDependency
and uap10:HostRuntimeDependency
elements must not exceed 128.
<Dependencies>
<PackageDependency Name="Microsoft.WinJS.1.0"
Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"
MinVersion="1.0.0.0"/>
</Dependencies>
Item | Value |
---|---|
Namespace | http://schemas.microsoft.com/appx/manifest/foundation/windows10 |