How to specify dependencies in a package manifest

[This documentation is preliminary and is subject to change.]

To declare a framework package that this package depends on, add a PackageDependency element to the package manifest.

Instructions

Step 1:

Follow the steps in How to create a basic package manifest.

Step 2:

Determine which framework packages your app needs.

Step 3:

Add one PackageDependency element per required package. Here is an example Dependencies node.


<Dependencies>
  <Dependency Name="Company.Framework" MinVersion="1.0.0.0" />
</Dependencies>

Remarks

Packages can declare a dependency only on a framework package. Framework packages cannot declare package dependencies.

Related topics

How to create a package manifest manually

 

 

Build date: 2/10/2012

표시: