I\'m trying to follow this StackOverflow article, referring to this similar article on StackOverflow, and this from the UWP Windows Dev Center.
In my manifest XML, the <
For Visual Studio 2019. The order is also important. I was putting the rescap:Capability
last and kept getting the build error. It works if it's first, before other capabilities
From https://docs.microsoft.com/en-us/windows/uwp/packaging/app-capability-declarations#restricted-capabilities
All restricted capability elements must come before any CustomCapability and DeviceCapability elements under the Capabilities node in the package manifest.