TheDeveloper
TheDeveloper

Reputation: 1217

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?

Upvotes: 6

Views: 7580

Answers (3)

profimedica
profimedica

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

Led Machine
Led Machine

Reputation: 7552

Right click to your Android Project -> Properties

enter image description here

Disable the option "Use Shared Runtime"

enter image description here

Upvotes: 4

TheDeveloper
TheDeveloper

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

Related Questions