I recently updated to MAUI Preview 6 with VS2022 Version 17.0.0 Preview 2.1 and my already working MAUI project started throwing the below error:
Severity Code Description Project File Line Suppression State Error XA0137: The 'run-as command failed with 'run-as: Could not set capabilities: Operation not permitted '. Fast Deployment is not currently supported on this device. Please file an issue with the exact error message using the 'Help-> Send Feedback->Report a Problem' menu item in Visual Studio or 'Help-> Report a Problem' in Visual Studio for Mac. Please set the 'EmbedAssembliesIntoApk' MSBuild property to 'true' to disable Fast Deployment in the Visual Studio project property pages, or edit the project file in a text editor.
Is there something I am missing? Please let me know in case someone has a probable solution.
Also, I can see this issue even if I create a new project.
Also, I have performed a Maui-check and my installation seems to be proper.