ItemGroup Condition not copying correct assembly to the apk xamarin.android
Vinayak Nikam
71
Reputation points
Though I have provided below section on my xamarin android project file, I see Microsoft.AppCenter.Distribute.dll in the apk. It's not copying DistributePlay dll.
<ItemGroup Condition=" '$(Configuration)' != 'GooglePlay' ">
<PackageReference Include="Microsoft.AppCenter.Distribute" Version="3.3.0" />
</ItemGroup>
<ItemGroup Condition=" '$(Configuration)' == 'GooglePlay' ">
<PackageReference Include="Microsoft.AppCenter.DistributePlay" Version="3.3.0" />
</ItemGroup>
Sign in to answer