Welcome to Microsoft Q&A,
I implemented the
Capabilities codes provided by you, and reproduce the "invalid child element" schema error in your screenshot. I checked the order of each
Capability and found no problem based on the several
Note of the document.
The green wavy line in the screenshot is just a reminder and does not affect the build and debug of the project and can be ignored. You could directly run your app to see if your app could run correctly.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.