Skip to content

.NET Core GitVersion -showvariable exception #1469

Closed
@snovak7

Description

@snovak7

Hello, I have installed nuget package for netstandard: This version has an error when I want to make -showvariable, any showvariable, it returns:

System.NotImplementedException: The method or operation is not implemented.
   at GitVersion.VersionVariables.ContainsKey(String variable) in C:\projects\gitversion\src\GitVersionCore\OutputVariables\VersionVariables.cs:line 196
   at GitVersion.VersionVariables.TryGetValue(String variable, String& variableValue) in C:\projects\gitversion\src\GitVersionCore\OutputVariables\VersionVariables.cs:line 181
   at GitVersion.SpecifiedArgumentRunner.Run(Arguments arguments, IFileSystem fileSystem)
   at GitVersion.Program.VerifyArgumentsAndRun()

Without options, I get a valid JSON output.

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