Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

How to specify capabilities in a package manifest

To declare each capability required by your app, add a Capability element to the package manifest.

Alternatively, you can package your app using Visual Studio. See Packaging your app using Visual Studio.

Instructions

Step 1:

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

Step 2:

Determine the capabilities that your app needs. Any capabilities that are required by an API are listed in the documentation and IntelliSense ToolTip for the API. For more info, see App capability declarations.

Step 3:

Add one Capability element per capability. Here's an example Capabilities node that declares 3 capabilities.


<Capabilities>
  <Capability Name="internetClient"/>
  <Capability Name="musicLibrary"/>
  <Capability Name="videosLibrary"/>
</Capabilities>

Related topics

How to create a package manifest manually
How to specify device capabilities in a package manifest

 

 

Show:
© 2014 Microsoft