Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

589
Visualizações
.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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda