From d2e7173d53d30d23c80cb606dd19ec13ce416719 Mon Sep 17 00:00:00 2001 From: Sergei Radich <167222022+v-SergeiRadich@users.noreply.github.com> Date: Tue, 24 Feb 2026 18:07:57 +0100 Subject: [PATCH] [Windows] Replace .NET 10.0.103 with 10.0.102 (#13721) --- images/windows/scripts/build/Install-DotnetSDK.ps1 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/images/windows/scripts/build/Install-DotnetSDK.ps1 b/images/windows/scripts/build/Install-DotnetSDK.ps1 index d51ae531e..793c6a01c 100644 --- a/images/windows/scripts/build/Install-DotnetSDK.ps1 +++ b/images/windows/scripts/build/Install-DotnetSDK.ps1 @@ -107,6 +107,11 @@ if ((Test-IsWin22) -or (Test-IsWin25)) { # Install and warm up dotnet foreach ($dotnetVersion in $dotnetToolset.versions) { $sdkVersionsToInstall = Get-SDKVersionsToInstall -DotnetVersion $dotnetVersion + + # Issue https://github.com/actions/runner-images/issues/13705 + # Workaround for broken .NET SDK 10.0.103 - replace it with .NET SDK 10.0.102 + $sdkVersionsToInstall = $sdkVersionsToInstall | ForEach-Object { if ($_ -eq "10.0.103") { Write-Host ".NET 10.0.103 detected, replacing with 10.0.102"; "10.0.102" } else { $_ } } + foreach ($sdkVersion in $sdkVersionsToInstall) { Install-DotnetSDK -InstallScriptPath $installScriptPath -SDKVersion $sdkVersion -DotnetVersion $dotnetVersion if ($dotnetToolset.warmup) {