Skip to content

[.NET 10] investigate how to ship fewer copies of Mono.Android.dll #9606

Open
@jonathanpeppers

Description

@jonathanpeppers

Android framework version

Other

Affected platform version

.NET 10

Description

Right now we have this many Mono.Android.dll

  • ref pack, reference assembly for Mono.Android.dll
  • android-arm Mono.Android.dll
  • android-arm64 Mono.Android.dll
  • android-x86 Mono.Android.dll
  • android-x64 Mono.Android.dll

Where the last four are identical, because it's managed code and not tied to a RID at all. Ideally, we could reduce this to 1 ref assembly and 1 runtime assembly.

This is going to get even worse if we support multiple runtimes in the future: NativeAOT, etc.

Steps to Reproduce

  1. dotnet workload install android
  2. Look at the Mono.Android.dll files on disk.

Did you find any workaround?

n/a

Relevant log output

Metadata

Metadata

Labels

Area: App+Library BuildIssues when building Library projects or Application projects.enhancementProposed change to current functionality.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions