badges/shields

Badge request: dotnet version

Open

#6,934 opened on 2021年8月21日

GitHub で見る
 (19 comments) (3 reactions) (0 assignees)JavaScript (22,337 stars) (5,423 forks)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).

コントリビューターガイド