-
Notifications
You must be signed in to change notification settings - Fork 564
Description
As part of the .NET 5 effort, the dotnet/runtime-based mono runtime will support (require?) per-ABI mscorlib.dll files: different files will be used between 32-bit and 64-bit environments and between ARM vs. x86.
Supporting this will require changing at least four separate areas:
-
Installation: we can no longer have just
xbuild-frameworks/MonoAndroid/v1.0/mscorlib.dll, but will presumably havexbuild/Xamarin/Android/lib/x86/bcl/mscorlib.dll/etc., one per ABI. -
Build: Which
mscorlib.dllis used for build purposes? Presumably we'd have to preservexbuild-frameworks/MonoAndroid/v1.0/mscorlib.dlland have it either be a copy of some ABI or be a "reference assembly"? -
Packaging: The
.apk/.aabfile will need to add these per-ABImscorlib.dllfiles. How do we do that? We currently have a "flat"assemblies/directory within the.apkto store all assemblies, but that won't work as-is anymore. -
Runtime: How do we specify which
mscorlib.dllgets loaded? Is this somethinglibmonodroid.soneeds to explicitly control, or willlibmonosgen-2.0.socontrol it, or...?
Lots of unknowns.