-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adjust compatibility rules for Apple TFMs. #252
Conversation
Context: xamarin/xamarin-macios#13087 We've decided to ship breaking changes with .NET 6 for iOS, macOS and tvOS, and as such we won't be compatible with existing TFMs. All binaries will have be recompiled for .NET 6. I've modified compatibility scenarios that involve iOS or Mac Catalyst to use Android instead (because the compatibility rules for Android won't change).
This will need to happen in net6 servicing not in net6 GA so wondering if we should mention that in the design. |
CC @JonDouglas |
@mhutch & @terrajobst Can we get a quick review? |
* Generate NuGet warning [NU1701] when a `xamarin.ios` asset is being used | ||
- Package 'packageId' was restored using 'xamarin.ios' instead the project | ||
target framework 'net6.0-maccatalyst'. This package may not be fully | ||
* Generate NuGet warning [NU1701] when a `monoandroid` asset is being used |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the proposal effectively making monoandroid
AssetTargetFallback for net6.0-android?
Would monoandroid appear before or after netframework?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nothing changes for android, this just updates the examples since the xamarin.ios examples no longer apply.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should have read the new version, the diffs threw me for a loop :D
Thanks.
Context: xamarin/xamarin-macios#13087
We've decided to ship breaking changes with .NET 6 for iOS, macOS and tvOS,
and as such we won't be compatible with existing TFMs. All binaries will have
be recompiled for .NET 6.
I've modified compatibility scenarios that involve iOS or Mac Catalyst to use
Android instead (because the compatibility rules for Android won't change).