[Xamarin.Android.Build.Tasks] remove @(_AndroidAssemblySkipCases)
#8622
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In an effort to remove old, unused code, we should be able to remove the following related to the old Android.Support.* libraries:
Xamarin.Android.SkipCases.projitems
and the@(_AndroidAssemblySkipCases)
item group.This was a build performance optimization added in 02c07ed that would skip a build step that normalized casing for
.dll
files with an embedded__AndroidLibraryProjects__.zip
. This optimization is not needed at all for.aar
files.In .NET 9 projects, we don't create or embed
__AndroidLibraryProjects__.zip
, so modern projects don't need this optimization. Instead we bundle aMyLibrary.aar
alongsideMyLibrary.dll
inside of aMyLibrary
NuGet package.Xamarin.Android.Support.*
assembliesModern packages mark themselves trimmable with
$(IsTrimmable)
or the assembly-level attribute. Let's just remove the case forAndroid.Support
here.