dotnet / arcade

Tools that provide common build infrastructure for multiple .NET Foundation projects.
MIT License
667 stars 345 forks source link

Consider showing arcade-tools content on failure to find tool #14841

Open BrennanConroy opened 3 months ago

BrennanConroy commented 3 months ago

When arcade is trying to find a native tool and fails to find the specific version requested, it gives a generic error saying the tool with the version asked for wasn't found. https://github.com/dotnet/arcade/blob/eae8d8f803e6980efa4b15475ed453bcb0171490/eng/common/init-tools-native.ps1#L99 It would be nice if it could do something like ls $ToolName-* so we know what versions are available.

We just hit this recently when the machines we're using updated the jdk version and it just says "version 11.0.22 isn't found"