Skip to content

Badge request: dotnet version #6934

Description

@Abrynos

📋 Description

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

dotnet version
dotnet version

🔗 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.

🎤 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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions