-
Notifications
You must be signed in to change notification settings - Fork 663
Closed
Labels
Milestone
Description
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.