From 2593c6545468c97a81478ac09f82777d5bdb895f Mon Sep 17 00:00:00 2001 From: Matt Thalman Date: Wed, 18 Oct 2023 08:29:30 -0500 Subject: [PATCH] Workaround crossgen dependency on .NET 8 runtime --- src/SourceBuild/content/prep.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SourceBuild/content/prep.sh b/src/SourceBuild/content/prep.sh index 472c348ae..9d53f1bc7 100755 --- a/src/SourceBuild/content/prep.sh +++ b/src/SourceBuild/content/prep.sh @@ -157,6 +157,9 @@ function BootstrapArtifacts { if [ "$installDotnet" == true ]; then echo " Installing dotnet..." (source ./eng/common/tools.sh && InitializeDotNetCli true) + + # TODO: Remove once runtime dependency is gone (https://github.com/dotnet/runtime/issues/93666) + bash .dotnet/dotnet-install.sh --install-dir "$SCRIPT_ROOT/.dotnet" --version 8.0.0-preview.7.23375.6 --runtime dotnet fi # Read the eng/Versions.props to get the archives to download and download them