Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the main app package to which this supplemental package applies.
Element hierarchy
<uap3:MainPackageDependency>
Syntax
<uap3:MainPackageDependency
Name = 'A string with a value between 3 and 50 characters in length that consists of alpha-numeric characters, periods, and dashes.' >
</uap3:MainPackageDependency>
Attributes and elements
Attributes
Attribute | Description | Data type | Required | Default value |
---|---|---|---|---|
Name | The name as it appears in the Name attribute of the Identity element of the dependency package. | A string with a value between 3 and 50 characters in length that consists of alpha-numeric characters, periods, and dashes. | Yes |
Child elements
None.
Parent elements
Parent Element | Description |
---|---|
Dependencies | Declares other packages that a package depends on to complete its software. |
Examples
<Package
xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"
IgnorableNamespaces="uap3">
<Dependencies>
<TargetDeviceFamily
Name="Windows.Universal"
MinVersion="11.0.0.0"
MaxVersionTested="12.0.0.0"/>
<uap3:MainPackageDependency
Name="MyApp.Main"/>
</Dependencies>
</Package>
Requirements
Item | Value |
---|---|
Namespace | http://schemas.microsoft.com/appx/manifest/uap/windows10/3 |
Minimum OS Version | Windows 10 version 1607 (Build 14393) |