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