You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Xamarin.Android.Build.Tasks] fix @(LibraryProjectZip) and NuGets (#7151)
Context: xamarin/GooglePlayServicesComponents#652
In .NET 6, `@(AndroidLibrary.Pack)` defaults to true (97190b6), while
`%(LibraryProjectZip.Pack)` was never set, and thus was false. This
would be an issue if you migrated a project using `@(LibraryProjectZip)` and were
not relying on the default wildcards used by:
<AndroidLibrary Include="**/*.aar" />
The result is that `.aar` files weren't included into the `.nupkg`,
which would result in subsequent build & packaging errors when
using the `.nupkg`, as the `.aar` was missing.
Set `%(LibraryProjectZip.Pack)`=True by default in .NET 6+, to ease
project migration from Classic Xamarin.Android to .NET 6.
I updated a test for this scenario and fixed some assertions that are
working since 2ca2a10 was merged.
0 commit comments