Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kasperk81 opened this issue Sep 28, 2024 · 2 comments
Open

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

kasperk81 opened this issue Sep 28, 2024 · 2 comments
Labels
Area-Infrastructure buildcheck msbuild-analyzer-candidate Items that would be a good MSBuild Analyzer untriaged Request triage from a team member

Comments

@kasperk81
Copy link
Contributor

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.

@marcpopMSFT
Copy link
Member

@baronfel do we have an issue tracking sdk buildchecks?

@baronfel baronfel added the msbuild-analyzer-candidate Items that would be a good MSBuild Analyzer label Oct 14, 2024
@baronfel
Copy link
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
Labels
Area-Infrastructure buildcheck msbuild-analyzer-candidate Items that would be a good MSBuild Analyzer untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

3 participants