问题
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?
回答1:
Right click to your Android Project -> Properties
Disable the option "Use Shared Runtime"
回答2:
I got it.
AOT tag in my android solution was set to true. I had to disable it and run it on VSTS.
回答3:
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.
来源:https://stackoverflow.com/questions/37756286/xamarin-android-shared-monoruntime-error