Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
61 lines (37 sloc) 2.09 KB
Description Search.Product title ms.assetid author ms.author keywords ms.prod ms.technology ms.topic ms.date
To declare each capability required by your app, add a Capability element to the package manifest.
eADQiWindows 10XVcnh
How to specify capabilities in a package manifest
7ca1d523-bc49-4009-a2ef-238c713cd907
laurenhughes
lahugh
windows 10, uwp, schema, package manifest
windows
winrt-reference
reference
04/05/2017

How to specify capabilities in a package manifest

Note  For Windows 10, see uap:Capability, Capability, and What's different in Windows 10.

 

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