Upravit

Sdílet prostřednictvím


uap7:OSPackageDependency

Defines a package dependency for a UWP app.

Element hierarchy

<Package>

    <Dependencies>

         <uap7:OSPackageDependency>

Syntax

<uap7:OSPackageDependency
  Name = 'An alphanumeric string that may contain periods and dashes.'
  Version = 'A version string in quad notation ("Major.Minor.Build.Revision"), where "Major" cannot be "0".' />

Attributes and elements

Attributes

Attribute Description Data type Required Default value
Name The name of the package dependency. An alphanumeric string that may contain periods and dashes. Yes
Version The version of the package dependency. A version string in quad notation (Major.Minor.Build.Revision), where Major cannot be 0. Yes

Child elements

None

Parent elements

Parent element Description
Dependencies Declares other packages that a package depends on to complete its software.

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10/7
Minimum OS Version Windows 10 version 1809 (Build 17763)