Skip to content

[ISSUE]: gitversion.msbuild v6.0.1 breaks build #4140

Closed
@luis-fss

Description

@luis-fss

Prerequisites

  • I have searched issues to ensure it has not already been reported
  • I have written a descriptive issue title

GitVersion package

GitVersion.MsBuild

GitVersion version

gitversion.msbuild v6.0.1

Operating system

Windows

What are you seeing?

dotnet build is falling.

What is expected?

A build success.

Steps to Reproduce

Just upgrade from gitversion.msbuild v6.0.0 to v6.0.1 and try dotnet build
The TargetFramework is net8.0

RepositoryFixture Test

none

Output log or link to your CI build (if appropriate).

none
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.
  Could not execute because the specified command or file was not found.
    * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.
C:\Users\Luis\.nuget\packages\gitversion.msbuild\6.0.1\tools\GitVersion.MsBuild.targets(18,9): error MSB3073: The command "dotnet --roll-forward Major "C:\Users\Luis\.nuget\packages\gitversion.msbuild\6.0.1\tools\gitversion.dll" "C:\Us
ers\Luis\source\repos\PMCM.Web\src\PMCM.BlazorApp"  -output file -outputfile "obj\gitversion.json"" exited with code 1. [C:\Users\Luis\source\repos\PMCM.Web\src\PMCM.BlazorApp\PMCM.BlazorApp.csproj]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions