Skip to content

Intermittent error "Unable to locate dotnet CLI. Ensure that it is on the PATH." #2218

@christophwille

Description

@christophwille

This started happening to our Github builds this weekend:

Image

We never had any issues whatsoever, so initially we were looking at the newly installed net90, but then found microsoft/azure-pipelines-tasks#19162 (and by extension #2000). However, when locking to the latest version in https://github.com/icsharpcode/ILSpy/pull/3338/files we still see "Unable to locate dotnet CLI. Ensure that it is on the PATH.".

So it wasn't the old-ish version of dotnet-format that tripped us up but it happens also with the latest 8-series one. Any ideas/pointers where to start looking next? This flakiness is annoying (but not a showstopper atm).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions