Skip to content

[Bug] 6.0 Beta 4 gitversion.msbuild with dotnet build #3832

@christophwille

Description

@christophwille

When I add 6.0-b4 msbuild nuget, it works fine in VS. When executing dotnet build on the command line it fails when executing

dotnet --roll-forward Major "C:\Users\chwille\.nuget\packages\gitversion.msbuild\6.0.0-beta.4\tools\/gitversion.dll" "C:\Workspace\src\myProject" -output file -outputfile obj\gitversion.json

(exit code 1)

When I run this separately (in the same directory as dotnet build) I get

Could not execute because the specified command or file was not found.
Possible reasons for this include:
  * You misspelled a built-in dotnet command.
  * You intended to execute a .NET program, but dotnet---roll-forward does not exist.
  * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions