badges/shields

Badge request: dotnet version

Open

#6,934 创建于 2021年8月21日

在 GitHub 查看
 (19 评论) (3 反应) (0 负责人)JavaScript (22,337 star) (5,423 fork)batch import
good first issueservice-badge

描述

:clipboard: Description

I'd like to see a badge displaying the dotnet version the repository or nuget package is using.

dotnet version dotnet version

:link: Data

The GitHub API does not give out this information, but nuget.org does, which means at least the second of the two example badges above should be possible.

In the API there is a dependency group for each target framework (which is what we are looking for; e.g. net5.0). If i understood the documentation from Microsoft correctly you'll probably end up here.

:microphone: Motivation

When developing dotnet libraries we can choose several versions to compile against. It would be nice to show off in our repositories, that we support the newest dotnet framework version (currently net5.0; soon to be net6.0).

贡献者指南