Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xamarin Android: Shared MonoRuntime error

I am developing an android app with Xamarin. I tested in successfully through emulator and in test cloud manually but when I am trying to run it through VSTS, I am getting:

Mono Shared Runtime is not supported. This can be resolved by changing the project configuration or using a Release build.

I checked my android project file, shared mono runtime is turned off.

Can anyone tell me what could cause this issue and how to resolve it?

like image 370
TheDeveloper Avatar asked Jun 10 '16 20:06

TheDeveloper


2 Answers

Right click to your Android Project -> Properties

enter image description here

Disable the option "Use Shared Runtime"

enter image description here

like image 102
Led Machine Avatar answered Sep 21 '22 07:09

Led Machine


I got it.

AOT tag in my android solution was set to true. I had to disable it and run it on VSTS.

like image 24
TheDeveloper Avatar answered Sep 20 '22 07:09

TheDeveloper