Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

581
Vistas
.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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda