Skip to content

[Bug] Git version install error #3595

@michelefa1988

Description

@michelefa1988

Azure pipeline GitVersion install step suddenly started throwing the error bellow. The install has been running smoothly for a long time all using the same image/os.

Any ideas? I am reporting this here before troubleshooting since a few months ago, a similar issue had occurred and it was due to Microsoft updating some default setting,

- task: gitversion/setup@0
  displayName: Install GitVersion
  inputs:
    versionSpec: '5.10.3'

--------------------------
Acquiring GitVersion.Tool version spec: 5.10.3
--------------------------
Command: dotnet tool install GitVersion.Tool --tool-path /agent/_work/_temp --version 5.10.3
/usr/bin/dotnet tool install GitVersion.Tool --tool-path /agent/_work/_temp --version 5.10.3
You must install or update .NET to run this application.

App: /usr/share/dotnet/sdk/7.0.202/dotnet.dll
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '7.0.4' (x64)
.NET location: /usr/share/dotnet/
##[error]Error installing tool

No frameworks were found.

Learn about framework resolution:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=7.0.4&arch=x64&rid=ubuntu.22.04-x64
Finishing: Install GitVersion

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions