From de209789aed8fe9bfe4c9201e5f5232b9d113e5b Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Thu, 5 Feb 2026 15:51:50 +0100 Subject: [PATCH] [net11.0] Fix building .NET 10 projects. Fixes #24417. Fixes https://github.com/dotnet/macios/issues/24417. --- .../generate-workloadmanifest-json.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/generate-workloadmanifest-json/generate-workloadmanifest-json.cs b/scripts/generate-workloadmanifest-json/generate-workloadmanifest-json.cs index 939f84e6bc18..239e70979586 100755 --- a/scripts/generate-workloadmanifest-json/generate-workloadmanifest-json.cs +++ b/scripts/generate-workloadmanifest-json/generate-workloadmanifest-json.cs @@ -78,16 +78,12 @@ // Hopefully when https://github.com/dotnet/runtime/issues/122264 is done we can use the versioned workload for every version writer.WriteLine ($" \"microsoft-net-runtime-mono-tooling\","); for (var i = earliestDotNetVersion; i < latestDotNetVersion; i++) { - if (i == 10) - continue; // 'microsoft-net-runtime--net10' doesn't seem to exist yet, we'll probably have to remove this special case at some point (https://github.com/dotnet/macios/issues/24417) writer.WriteLine ($" \"microsoft-net-runtime-mono-tooling-net{i}\","); } } else { // Hopefully when https://github.com/dotnet/runtime/issues/122264 is done we can use the versioned workload for every version writer.WriteLine ($" \"microsoft-net-runtime-{platformLowerCase}\","); for (var i = earliestDotNetVersion; i < latestDotNetVersion; i++) { - if (i == 10) - continue; // 'microsoft-net-runtime--net10' doesn't seem to exist yet, we'll probably have to remove this special case at some point (https://github.com/dotnet/macios/issues/24417). writer.WriteLine ($" \"microsoft-net-runtime-{platformLowerCase}-net{i}\","); } }