Closed
Description
Context: dotnet/android-libraries#713
Context: https://discord.com/channels/732297728826277939/732297837953679412/1092671665252597800
Testing building AndroidX.sln
with all the TargetFramework
s using .NET P2, like this:
<TargetFrameworks>MonoAndroid12.0;net6.0-android;net7.0-android;net8.0-android</TargetFrameworks>
causes the build to fail with:
This seems to be related to multi-targeting:
Working TF:
MonoAndroid12.0;net6.0-android
MonoAndroid12.0;net6.0-android;net7.0-android
net8.0-android
Not-working TF:
MonoAndroid12.0;net6.0-android;net7.0-android;net8.0-android
net8.0-android;MonoAndroid12.0;net6.0-android;net7.0-android
We speculate this may be an issue where an "older" libzipSharpNative
is getting loaded from an earlier pack like .NET 6 or .NET 7, and is trying to be used with the .NET 8 Xamarin.LibZipSharp.dll
.