Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
christophwille opened this issue Nov 17, 2024 · 2 comments

Comments

@christophwille
Copy link

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).

@RikkiGibson
Copy link
Contributor

RikkiGibson commented Nov 18, 2024

@RamaInfraOps
Copy link

RamaInfraOps commented Nov 19, 2024

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).

facing the same issue and its quite annoying as it is happening on multiple workflows. Any time line for this fix?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants