Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

585
Views
.Net MAUI The 'run-as' command failed with 'run-as: Could not set capabilities: Operation not permitted

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.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

After a goodnight sleep I realised apparently, My answer was in my question itself!

Adding

 <EmbedAssembliesIntoApk>true</EmbedAssembliesIntoApk>

To my MAUI projects property group solves this issue and I am able to run again.

I guess the issue was caused by Fast renderers not working with my current debug device which runs on Android 7

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!