Dependencies (extensions schema for Windows 8.1)
Declares other packages that a package depends on to complete its software.
Element hierarchy
- <Package>
- <Dependencies>
Syntax
<Dependencies>
<!-- Child elements -->
PackageDependency{1,128}
</Dependencies>
Key
{}
specific range of occurrences
Attributes and Elements
Attributes
None.
Child Elements
Child Element | Description |
---|---|
PackageDependency | Declares a dependency on another package that is marked as a framework package. |
Parent Elements
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. |
Remarks
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.
Examples
<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>
Requirements
Value | |
---|---|
Namespace | http://schemas.microsoft.com/appx/2010/manifest |