Skip to content

[Spec] Drop .NET Standard 1.0 support #18

Closed

Description

@hartez

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.

Activity

  1. added
    t/enhancement ☀️
    and removed
    t/enhancement ☀️
    on May 18, 2020
  2. charlesroddie commented on May 19, 2020

    @charlesroddie

    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.

  3. hartez commented on May 20, 2020

    @hartez
    ContributorAuthor

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

  4. added a commit that references this issue on Jun 23, 2021
  5. ghost locked as resolved and limited conversation to collaborators on Feb 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions