Fix for "Unable to locate dotnet CLI. Ensure that it is on the PATH." https://github.com/microsoft/azure-pipelines-tasks/issues/19162 (then see https://github.com/dotnet/format/pull/2000)

This commit is contained in:
Christoph Wille
2024-11-17 15:04:25 +01:00
parent 36abb399b3
commit 5ba75bfd51
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
set -eu
DOTNET_FORMAT_VERSION=8.0.453106
DOTNET_FORMAT_VERSION=8.3.546805
DOTNET_PATH="$LOCALAPPDATA/ICSharpCode/ILSpy/dotnet-format-$DOTNET_FORMAT_VERSION"
if [ ! -d "$DOTNET_PATH" ]; then
echo "Downloading dotnet-format $DOTNET_FORMAT_VERSION..."