Skip to content

Upgrade netcoreapp3.1 and net5.0 to net6.0 for NET7 #57844

Closed

Description

@ViktorHofer

.NET Core 3.1 and .NET 5 will be out of support when .NET 7 ships. Hence we should upgrade our projects targeting netcoreapp3.1 and net5.0 to make sure that we don't provide unsupported assets.

Steps:

  • Update NetCoreAppCurrent to net7.0.
  • Update NetCoreAppMinimum property to net6.0.
  • Update all projects which currently target netcoreapp3.1* or net5.0* to use NetCoreAppMinimum instead.
  • Build the changes locally and create packages by doing a build.cmd libs -allconfigurations build. There will likely be PackageValidation errors because of the tfm upgrade. Resolve those by creating suppression files via the /p:GenerateCompatibilitySuppressionFile switch.

Implementing #54012 first is recommended.

Activity

  1. added this to the 7.0.0 milestone on Aug 20, 2021
  2. ghost added
    untriaged
    on Aug 20, 2021
  3. changed the title [-]Upgrade netcoreapp3.1 and net5.0 net6.0 for NET7[/-] [+]Upgrade netcoreapp3.1 and net5.0 to net6.0 for NET7[/+] on Aug 20, 2021
  4. removed
    untriaged
    on Aug 20, 2021
  5. self-assigned this
    on Aug 20, 2021
  6. ghost locked as resolved and limited conversation to collaborators on Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions