You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
ID: fdfe599a-af5b-acbc-1405-d1030d9f6661
Version Independent ID: 85857337-8448-af63-b543-f01ef482ea09
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.
* 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
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.
The text was updated successfully, but these errors were encountered: