Reputation: 1217
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?
Upvotes: 6
Views: 7580
Reputation: 2830
After removing Shared Runtime and Fast Deployment from Android Options, I had to restart Visual Studio and switch again on Release configuration for the settings to take effect.
Upvotes: 0
Reputation: 7552
Right click to your Android Project -> Properties
Disable the option "Use Shared Runtime"
Upvotes: 4
Reputation: 1217
I got it.
AOT tag in my android solution was set to true. I had to disable it and run it on VSTS.
Upvotes: 1