Skip to content

dotnet publish/build still adds x86_x64 runtime by default #10541

@danardelean

Description

@danardelean

Android framework version

net10.0-android (Preview)

Affected platform version

All

Description

I am really struggling to understand why, after years, when building an .Net Android application in Release you are still adding by default the x86_x64 runtime.

It really doesn't make any sense... If somebody wants to test the package on a simulator it can manually add the runtime.
Why waste space and bandwidth if there are no devices that use x86_x64 out there (or if there are they can add it manually)

Steps to Reproduce

Just build any .Net Android or MAUI application in release and look inside the package

Did you find any workaround?

Remove x86_x64 as default when building in Release

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: App+Library BuildIssues when building Library projects or Application projects.needs-triageIssues that need to be assigned.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions