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

[Spec] Drop .NET Standard 1.0 support #18

Closed
hartez opened this issue May 18, 2020 · 2 comments
Closed

[Spec] Drop .NET Standard 1.0 support #18

hartez opened this issue May 18, 2020 · 2 comments

Comments

@hartez
Copy link
Contributor

hartez commented May 18, 2020

Description

Remove .NET Standard 1.0 support.

Forms currently supports .NET Standard 1.0 in order to support older Windows devices and PCL projects. .NET Standard projects have been the default for Forms for a while now, and eventually moving to newer .NET versions is going to force this transition anyway. Dropping 1.0 support allows us to simplify the builds, project loading, test matrix, and stop supporting some custom 1.0 code.

Backward Compatibility

Users who are still using PCL projects will need to convert them to .NET Standard projects. UWP builds targeted at 14393 and earlier will need to be updated to at least 16299 .

Difficulty : Low

Mostly just deleting code - removing all of the NETSTANDARD1_0 #if checks and removing the .NET Stanard sections from the nuspec files.

@hartez hartez added t/enhancement ☀️ New feature or request and removed t/enhancement ☀️ New feature or request labels May 18, 2020
@charlesroddie
Copy link
Contributor

charlesroddie commented May 19, 2020

I think this should be in the Xamarin.Forms repo, as dropping netstandard < 2 can be done now.

We will begin shipping .NET MAUI previews later this year, and target general availability with .NET 6 in November of 2021

So MAUI can depend on .Net 5 in previews, and on release on .Net 6 if it brings any advantages.

@hartez
Copy link
Contributor Author

hartez commented May 20, 2020

.NET Standard 1.0 support isn't linked in any way to .NET 4, 5, or 6.

For Forms, .NET Standard 1.0 is supported in 4.x for compatibility reasons. Removing that support would be a breaking change, so if it did happen it would have to be for a major revision, and we'd have to review the impact for folks who are currently using it.

So it's possible that we will drop support for it in Forms (but that hasn't been 100% decided yet), and it's nearly certain that we will drop support for it in MAUI.

(I say nearly certain because it's possible someone will post a very compelling case for 1.0 in the comments of this spec - which is why we post the spec.)

@PureWeen PureWeen closed this as completed Oct 9, 2020
rookiejava referenced this issue in rookiejava/maui Jun 23, 2021
Remove duplicate type for legacy compat renderers
@ghost ghost locked as resolved and limited conversation to collaborators Feb 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants