Dependencies
콘텐츠의 테이블 축소
콘텐츠의 테이블 확장

Dependencies

Declares other packages that a package depends on to complete its software.

요소 계층 구조

<Package>
<Dependencies>

구문

<Dependencies>

  <!-- Child elements -->
  PackageDependency{1,128}

</Dependencies>

{}   특정 발생 범위

Attributes and Elements

Attributes

None.

Child Elements

Child ElementDescription
PackageDependency

Declares a dependency on another package that is marked as a framework package.

 

Parent Elements

Parent ElementDescription
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 package. Set Framework to true to declare a framework package.

예제


<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>

요구 사항

네임스페이스

http://schemas.microsoft.com/appx/2010/manifest

 

 

표시:
© 2017 Microsoft