Description
Android framework version
net9.0-android
Affected platform version
VS 2022, Command Line Builds
Description
There exists a pull request, below, where you have removed runtime identifiers from builds by default in .net 9, which means unsuspecting companies upgrading from .net 8 to .net 9 will suddenly find that they have lots of unhappy customers for whom their app no longer installs.
Unfortunately, I have been unable to find a list of runtime identifiers that were built for by default on .net 8. If I turn on all four RDIs in that link, our .apk file jumps to over 73mb, whereas builds in .net 8 have always been approximately 43mb.
Either I am missing which RDIs should be set to replicate the output from .net 8, in which case they need to be documented somewhere, OR .net 9 has massively increased the size of our published output, in which case it would be good to understand why.
Steps to Reproduce
Start with an existing non-trivial android application in .net 8, and ensure no element is present in the project file. Observe its packaged size when built. Change the target framework to .net 9 and build again, and you'll see initially that the packaged size has decreased, but then turn on all four runtime identifiers from the link above, and you'll see it has increased substantially.
Did you find any workaround?
No response