Mono Shared Runtime is enabled

Viewed 444

I am trying to create archive for Xamarin Android application created in Visual studio 2017. I always get an error "Shared mono runtime is enabled in your project" but I actually it is disabled and Release mode is selected but still not working.

Disabled Shared runtime and set on Release mode

1 Answers

It's a old question but my answer may help someone. In your Android project file *.csproj set false to AndroidUseSharedRuntime.

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
   ...
   <DebugSymbols>false</DebugSymbols> 
   <AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
   ...
Related