dotnet / dotnet/sdk

unsupport non-standard TFM netXY vs. netX.Y

Open
#43,773 2 comments 4 reactions 1 assignee Claimed by @MiYanni View on GitHub
Area-Infrastructure buildcheck msbuild-analyzer-candidate untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

0.01% of the projects on github have `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 (https://github.com/dotnet/runtime/pull/106599#discussion_r1721809662).

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.