Skip to content
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

Merged
merged 1 commit into from
Oct 27, 2021

Conversation

rolfbjarne
Copy link
Member

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).

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).
@rolfbjarne
Copy link
Member Author

rolfbjarne commented Oct 22, 2021

@marek-safar
Copy link
Contributor

This will need to happen in net6 servicing not in net6 GA so wondering if we should mention that in the design.

@rolfbjarne
Copy link
Member Author

CC @JonDouglas

@JonDouglas
Copy link

@mhutch & @terrajobst Can we get a quick review?

@zkat & @nkolev92 fyi

* 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

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?

Copy link
Member

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.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants