Skip to content

Consider inverting Language property special-casing #1020

@alexrp

Description

@alexrp

Specifically:

https://github.com/dotnet/Nerdbank.GitVersioning/blob/2b5ba90c74dc5d3e9300e8079d6ed511536000a9/src/Nerdbank.GitVersioning.Tasks/build/Nerdbank.GitVersioning.targets#L43C6-L44

I would like to propose that instead of special-casing Language values that are known to be unsupported, NBGV should special-case values that are known to be supported. After all, it is a fairly rare event for a new programming language to appear and gain traction in the .NET space, and subsequently get support in NBGV.

This would make it easier to use NBGV out of the box in repositories that have Microsoft.Build.NoTargets projects, or projects using other languages (e.g. Zig in my case), etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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