From 3cae8d73d301a315825e0d5615da2dbade5d215a Mon Sep 17 00:00:00 2001 From: Shamil Mubarakshin <127750046+shamil-mubarakshin@users.noreply.github.com> Date: Tue, 16 Dec 2025 09:44:30 +0100 Subject: [PATCH] Revert "[windows] Workaround .NET SDK installation (#13419)" (#13431) --- images/windows/scripts/build/Install-DotnetSDK.ps1 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/images/windows/scripts/build/Install-DotnetSDK.ps1 b/images/windows/scripts/build/Install-DotnetSDK.ps1 index 4148149db..d51ae531e 100644 --- a/images/windows/scripts/build/Install-DotnetSDK.ps1 +++ b/images/windows/scripts/build/Install-DotnetSDK.ps1 @@ -93,11 +93,7 @@ function Install-DotnetSDK { $dotnetToolset = (Get-ToolsetContent).dotnet # Download installation script. - -# https://github.com/dotnet/install-scripts/pull/676 didn't make it to https://dot.net/v1/dotnet-install.ps1 yet. -# Temporary change to use specific commit -$installScriptUrl = "https://raw.githubusercontent.com/dotnet/install-scripts/bf2a23874784df29ff9fefcc50cc96dc41b08b4a/src/dotnet-install.ps1" -$installScriptPath = Invoke-DownloadWithRetry -Url $installScriptUrl +$installScriptPath = Invoke-DownloadWithRetry -Url "https://dot.net/v1/dotnet-install.ps1" # Visual Studio 2022 pre-creates sdk-manifests/8.0.100 folder, causing dotnet-install to skip manifests creation # https://github.com/actions/runner-images/issues/11402