This PR updates us to .NET 7.0.306 which contains this enhancement. Note that we cannot update to .NET 8 while we still support net6.0-android bindings, as .NET 8 cannot build net6.0-android.
Note that this is currently a no-op and should not change anything, as the .NET 7 SDK will still download the .NET 6 bits to bind net6.0-android.
Context: https://github.com/xamarin/AndroidX/issues/690#issuecomment-1444439766
We would like to (eventually) provide additional guidance to users around API's that Google has annotated with
@RestrictTo
.In order to do this, we will have to use a newer
generator
that contains the needed support: https://github.com/xamarin/java.interop/pull/1094.In order to do that, we will need a newer .NET that allows us to override the
generator
used to bind libraries: https://github.com/xamarin/xamarin-android/pull/8069This PR updates us to .NET
7.0.306
which contains this enhancement. Note that we cannot update to .NET 8 while we still supportnet6.0-android
bindings, as .NET 8 cannot buildnet6.0-android
.Note that this is currently a no-op and should not change anything, as the .NET 7 SDK will still download the .NET 6 bits to bind
net6.0-android
.