Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order of capabilities matters and is not explained #1535

Closed
pierresa opened this issue Mar 12, 2019 — with docs.microsoft.com · 1 comment
Closed

Order of capabilities matters and is not explained #1535

pierresa opened this issue Mar 12, 2019 — with docs.microsoft.com · 1 comment
Assignees

Comments

Copy link

If I put restrictedcapability after devicecapability I have an error
<Capabilities>
<Capability Name="internetClient" />
<rescap:Capability Name="confirmAppClose" />
<uap:Capability Name="picturesLibrary" />
<uap:Capability Name="removableStorage" />
<uap:Capability Name="videosLibrary" />
<uap4:Capability Name="offlineMapsManagement" />
<DeviceCapability Name="location" />

</Capabilities>
works but if I change the order it fails. Documentation should explain constraints or handling should be fixed


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@mcleanbyron
Copy link
Contributor

Thanks for your feedback. You are correct, and all DeviceCapability elements must come after any and all Capability elements (including restricted Capability elements) under Capabilities. I have added a note to the "Device capabilities" section of this article and several other related articles to capture this requirement. These doc updates should be published in the next day or so.

QuinnRadich pushed a commit that referenced this issue May 19, 2021
* test 1

* test2

* test3

* test3again

* test 4

* test 5

* test 6

* test 7

* test 7 again

* test 7

* test 9

* test 10

* test 11

* test 12

* test 13

* test 14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants