Skip to content

When is NuGetVersionV3 coming? #1181

Closed
@memark

Description

@memark

Browsing through the discussions and the code, I have noticed that the NuGetVersion property is currently pointing at the NuGetVersionV2, returning the same thing. Also there is this comment // TODO When NuGet 3 is released: public string NuGetVersionV3 { get { return ??; } }
https://github.com/GitTools/GitVersion/blob/416ed5ad41a2699bc1dc9fd0731aae1909e1cfdd/src/GitVersionCore/SemanticVersionFormatValues.cs

NuGet 3.5 does support SemVer2 (well, most of it), and has been out for a while. So I'm wondering when this feature NuGetVersionV3 might be coming to GitVersion?

For the moment I've resorted to using the SemVer property, BUT it can generate version strings longer than 20 characters, which are not supported even by NuGet 3.5.

OTOH NuGet 4.0.0-rc4 does accept really long strings, solving the problem for now. But that should be the NuGetVersionV4, right? :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions