Skip to content

Remove netstandard 2.1 and targeting only .NET 9 #4132

@ajara87

Description

@ajara87

Summary

I would like to propose removing .NET Standard 2.1 from NEO

  • .NET Standard is frozen. Microsoft will not release versions beyond 2.1. Link

  • .NET 9 brings substantial performance and tooling gains (JIT/PGO, loop/inlining optimizations, faster exceptions) that can't fully leverage while targeting netstandard 2.1

  • Simpler builds & maintenance: fewer TFMs mean fewer #ifs, smaller CI matrices and less divergent code paths

The only reason to maintain .NET Standard should be to share code between Mono and .NET Core 3.x (as Microsoft mention link) (Given that .NET Core 3.x is no longer supported by Microsoft and .NET Standard 2.1 not support .NET Framework).

Maybe I'm overlooking a strong reason to keep .NET Standard, but unless that's the case, it could probably be removed at least partially, if not entirely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DiscussionInitial issue state - proposed but not yet accepted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions