Skip to content

unsupport non-standard TFM netXY vs. netX.Y #43773

Open

Description

@kasperk81

0.01% of the projects on github have <TargetFramework>net80 https://github.com/search?q=%22%3Ctargetframework%3Enet80%22&type=code vs net8.0 https://github.com/search?q=%22%3Ctargetframework%3Enet8.0%22&type=code

XY is undocumented format https://learn.microsoft.com/dotnet/standard/frameworks#supported-target-frameworks and double digit tfm will make life harder for third party tools to parse the value (dotnet/runtime#106599 (comment)).

sdk should just error on netXY netcoreappXY netcoreappX.Y for v >= 5.

Activity

  1. ghost added
    untriagedRequest triage from a team member
    on Sep 28, 2024
  2. marcpopMSFT commented on Oct 14, 2024

    @marcpopMSFT
    Member

    @baronfel do we have an issue tracking sdk buildchecks?

  3. baronfel commented on Oct 14, 2024

    @baronfel
    Member

    Just the msbuild-analyzer-candidate label that's been around for a bit.

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

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions