Abdul Gafoor M
Abdul Gafoor M

Reputation: 107

Mono Shared Runtime is enabled

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

Upvotes: 2

Views: 490

Answers (1)

Gustavo
Gustavo

Reputation: 685

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>
   ...

Upvotes: 1

Related Questions