From cf56534ecf5162afedb8cfcc50994a9ae5985828 Mon Sep 17 00:00:00 2001 From: dotnet-sb-bot Date: Wed, 6 Nov 2024 14:21:27 +0000 Subject: [PATCH 01/11] Re-Bootstrap Source Build to .NET 10.0.100-alpha.1.24556.1 --- src/SourceBuild/content/eng/Version.Details.xml | 4 ++-- src/SourceBuild/content/eng/Versions.props | 4 ++-- src/SourceBuild/content/global.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/SourceBuild/content/eng/Version.Details.xml b/src/SourceBuild/content/eng/Version.Details.xml index 13f735a5cdaa..ea94169d60f6 100644 --- a/src/SourceBuild/content/eng/Version.Details.xml +++ b/src/SourceBuild/content/eng/Version.Details.xml @@ -2,9 +2,9 @@ - + https://github.com/dotnet/arcade - 1ccd352f12e845d89e5b5a9b800e2be88f8a6d98 + 1818ed2babf890a1cd62fa96a1f03abdada2d003 diff --git a/src/SourceBuild/content/eng/Versions.props b/src/SourceBuild/content/eng/Versions.props index 3c1ecf771c32..db80f84d2f85 100644 --- a/src/SourceBuild/content/eng/Versions.props +++ b/src/SourceBuild/content/eng/Versions.props @@ -23,8 +23,8 @@ of a .NET major or minor release, prebuilts may be needed. When the release is mature, prebuilts are not necessary, and this property is removed from the file. --> - 9.0.100-rc.2.24474.1 - 9.0.100-rc.2.24474.1 + 10.0.100-alpha.1.24556.1 + 10.0.100-alpha.1.24556.1 0.1.0-10.0.100-4 2.0.0-beta4.24126.1 diff --git a/src/SourceBuild/content/global.json b/src/SourceBuild/content/global.json index 4e561f406eb9..0cef1ca7ad9d 100644 --- a/src/SourceBuild/content/global.json +++ b/src/SourceBuild/content/global.json @@ -1,10 +1,10 @@ { "tools": { - "dotnet": "10.0.100-alpha.1.24551.9" + "dotnet": "10.0.100-alpha.1.24555.54" }, "msbuild-sdks": { "Microsoft.Build.NoTargets": "3.7.0", "Microsoft.Build.Traversal": "3.4.0", - "Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.24522.1" + "Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.24551.1" } } From 5978dfef8e74786414da8544a93126041a3ff3ab Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Wed, 6 Nov 2024 15:52:39 +0100 Subject: [PATCH 02/11] Set NetCurrent consistently for all projects --- src/SourceBuild/content/Directory.Build.props | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SourceBuild/content/Directory.Build.props b/src/SourceBuild/content/Directory.Build.props index bd5b2045f5e9..f088f0499d2e 100644 --- a/src/SourceBuild/content/Directory.Build.props +++ b/src/SourceBuild/content/Directory.Build.props @@ -117,6 +117,8 @@ + + net10.0 false From 8025fd6e2884ba3a23ecbdc47004298f49568e32 Mon Sep 17 00:00:00 2001 From: Matt Thalman Date: Wed, 6 Nov 2024 11:34:53 -0600 Subject: [PATCH 03/11] arcade net10.0 patch --- ... 10 SDK and TFM to net10.0 in arcade.patch | 93 +++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 src/SourceBuild/patches/arcade/0001-Update to .NET 10 SDK and TFM to net10.0 in arcade.patch diff --git a/src/SourceBuild/patches/arcade/0001-Update to .NET 10 SDK and TFM to net10.0 in arcade.patch b/src/SourceBuild/patches/arcade/0001-Update to .NET 10 SDK and TFM to net10.0 in arcade.patch new file mode 100644 index 000000000000..f7d22204b8cc --- /dev/null +++ b/src/SourceBuild/patches/arcade/0001-Update to .NET 10 SDK and TFM to net10.0 in arcade.patch @@ -0,0 +1,93 @@ +From bb08646395ccc8930656bb44b1821d646c993e16 Mon Sep 17 00:00:00 2001 +From: Viktor Hofer +Date: Wed, 6 Nov 2024 16:43:26 +0000 +Subject: [PATCH] Update to .NET 10 SDK and TFM to net10.0 in arcade + +Backport: https://github.com/dotnet/arcade/pull/15221 +--- + Directory.Build.props | 5 +++++ + global.json | 4 ++-- + .../src/build/Packaging.targets | 4 ++++ + .../Sdk/tools/xunit-runner/XUnitRunner.targets | 2 +- + .../Microsoft.DotNet.XliffTasks.csproj | 6 +----- + 5 files changed, 13 insertions(+), 8 deletions(-) + +diff --git a/Directory.Build.props b/Directory.Build.props +index 9d84f1dc6..b25de0091 100644 +--- a/Directory.Build.props ++++ b/Directory.Build.props +@@ -16,6 +16,11 @@ + https://github.com/dotnet/arcade + + $(WarningsNotAsErrors);NU1901;NU1902;NU1903;NU1904 ++ ++ net10.0 ++ net9.0 ++ $(NetCurrent) ++ $(NetToolCurrent) + + + +diff --git a/global.json b/global.json +index 3a7409606..3054e30d7 100644 +--- a/global.json ++++ b/global.json +@@ -1,10 +1,10 @@ + { + "sdk": { +- "version": "9.0.100-rc.2.24474.11", ++ "version": "10.0.100-alpha.1.24551.9", + "rollForward": "latestFeature" + }, + "tools": { +- "dotnet": "9.0.100-rc.2.24474.11" ++ "dotnet": "10.0.100-alpha.1.24551.9" + }, + "msbuild-sdks": { + "Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.24530.1", +diff --git a/src/Microsoft.DotNet.Build.Tasks.Packaging/src/build/Packaging.targets b/src/Microsoft.DotNet.Build.Tasks.Packaging/src/build/Packaging.targets +index b94b6736d..e0fadabb2 100644 +--- a/src/Microsoft.DotNet.Build.Tasks.Packaging/src/build/Packaging.targets ++++ b/src/Microsoft.DotNet.Build.Tasks.Packaging/src/build/Packaging.targets +@@ -954,6 +954,10 @@ + + @(NETCoreApp90RIDs) + ++ ++ ++ @(NETCoreApp100RIDs) ++ + + + +diff --git a/src/Microsoft.DotNet.Helix/Sdk/tools/xunit-runner/XUnitRunner.targets b/src/Microsoft.DotNet.Helix/Sdk/tools/xunit-runner/XUnitRunner.targets +index 0ae8d1482..9312e2672 100644 +--- a/src/Microsoft.DotNet.Helix/Sdk/tools/xunit-runner/XUnitRunner.targets ++++ b/src/Microsoft.DotNet.Helix/Sdk/tools/xunit-runner/XUnitRunner.targets +@@ -2,7 +2,7 @@ + + + +- net9.0 ++ net10.0 + netcoreapp2.0 + + 2.9.2 +diff --git a/src/Microsoft.DotNet.XliffTasks/Microsoft.DotNet.XliffTasks.csproj b/src/Microsoft.DotNet.XliffTasks/Microsoft.DotNet.XliffTasks.csproj +index 1059c3bc4..4da46b7da 100644 +--- a/src/Microsoft.DotNet.XliffTasks/Microsoft.DotNet.XliffTasks.csproj ++++ b/src/Microsoft.DotNet.XliffTasks/Microsoft.DotNet.XliffTasks.csproj +@@ -1,11 +1,7 @@ + + + +- +- $(NetToolMinimum);$(NetFrameworkToolCurrent) ++ $(NetToolCurrent);$(NetFrameworkToolCurrent) + true + true + XliffTasks +-- From db7db33863d47b8f51bc0625216ff7d867544435 Mon Sep 17 00:00:00 2001 From: Matt Thalman Date: Wed, 6 Nov 2024 12:37:19 -0600 Subject: [PATCH 04/11] update arcade patch --- ... 10 SDK and TFM to net10.0 in arcade.patch | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/src/SourceBuild/patches/arcade/0001-Update to .NET 10 SDK and TFM to net10.0 in arcade.patch b/src/SourceBuild/patches/arcade/0001-Update to .NET 10 SDK and TFM to net10.0 in arcade.patch index f7d22204b8cc..45b0f7156741 100644 --- a/src/SourceBuild/patches/arcade/0001-Update to .NET 10 SDK and TFM to net10.0 in arcade.patch +++ b/src/SourceBuild/patches/arcade/0001-Update to .NET 10 SDK and TFM to net10.0 in arcade.patch @@ -1,16 +1,16 @@ -From bb08646395ccc8930656bb44b1821d646c993e16 Mon Sep 17 00:00:00 2001 +From b6100609c16295746b0c875494d5d66dabe35560 Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Wed, 6 Nov 2024 16:43:26 +0000 Subject: [PATCH] Update to .NET 10 SDK and TFM to net10.0 in arcade Backport: https://github.com/dotnet/arcade/pull/15221 --- - Directory.Build.props | 5 +++++ - global.json | 4 ++-- - .../src/build/Packaging.targets | 4 ++++ - .../Sdk/tools/xunit-runner/XUnitRunner.targets | 2 +- - .../Microsoft.DotNet.XliffTasks.csproj | 6 +----- - 5 files changed, 13 insertions(+), 8 deletions(-) + Directory.Build.props | 5 +++++ + global.json | 4 ++-- + .../src/build/Packaging.targets | 4 ++++ + .../Sdk/tools/xunit-runner/XUnitRunner.targets | 2 +- + .../Microsoft.DotNet.XliffTasks.csproj | 4 ---- + 5 files changed, 12 insertions(+), 7 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 9d84f1dc6..b25de0091 100644 @@ -74,10 +74,10 @@ index 0ae8d1482..9312e2672 100644 2.9.2 diff --git a/src/Microsoft.DotNet.XliffTasks/Microsoft.DotNet.XliffTasks.csproj b/src/Microsoft.DotNet.XliffTasks/Microsoft.DotNet.XliffTasks.csproj -index 1059c3bc4..4da46b7da 100644 +index 1059c3bc4..165a4a7d5 100644 --- a/src/Microsoft.DotNet.XliffTasks/Microsoft.DotNet.XliffTasks.csproj +++ b/src/Microsoft.DotNet.XliffTasks/Microsoft.DotNet.XliffTasks.csproj -@@ -1,11 +1,7 @@ +@@ -1,10 +1,6 @@ @@ -85,9 +85,7 @@ index 1059c3bc4..4da46b7da 100644 - We need to target net8.0 while Arcade SDK 8 is being used. - Xliff tasks were moved from dotnet/xliff-tasks to Arcade in V9, so they are not available in release/8.0 branch. - --> -- $(NetToolMinimum);$(NetFrameworkToolCurrent) -+ $(NetToolCurrent);$(NetFrameworkToolCurrent) + $(NetToolMinimum);$(NetFrameworkToolCurrent) true true - XliffTasks -- From ebaf6cac5b13b11fb448f9056b7a63ef33d5d180 Mon Sep 17 00:00:00 2001 From: Matt Thalman Date: Wed, 6 Nov 2024 15:31:21 -0600 Subject: [PATCH 05/11] Patch to update nuget-client to net10.0 TFM --- ... 10 SDK and TFM to net10.0 in arcade.patch | 1 - ...001-Use net10.0 TMF for source build.patch | 26 +++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 src/SourceBuild/patches/nuget-client/0001-Use net10.0 TMF for source build.patch diff --git a/src/SourceBuild/patches/arcade/0001-Update to .NET 10 SDK and TFM to net10.0 in arcade.patch b/src/SourceBuild/patches/arcade/0001-Update to .NET 10 SDK and TFM to net10.0 in arcade.patch index 45b0f7156741..529f92302c4c 100644 --- a/src/SourceBuild/patches/arcade/0001-Update to .NET 10 SDK and TFM to net10.0 in arcade.patch +++ b/src/SourceBuild/patches/arcade/0001-Update to .NET 10 SDK and TFM to net10.0 in arcade.patch @@ -88,4 +88,3 @@ index 1059c3bc4..165a4a7d5 100644 $(NetToolMinimum);$(NetFrameworkToolCurrent) true true --- diff --git a/src/SourceBuild/patches/nuget-client/0001-Use net10.0 TMF for source build.patch b/src/SourceBuild/patches/nuget-client/0001-Use net10.0 TMF for source build.patch new file mode 100644 index 000000000000..8c0a489520a0 --- /dev/null +++ b/src/SourceBuild/patches/nuget-client/0001-Use net10.0 TMF for source build.patch @@ -0,0 +1,26 @@ +From c73cf361902811c6336ad883dc77767682ca5c70 Mon Sep 17 00:00:00 2001 +From: Matt Thalman +Date: Wed, 6 Nov 2024 15:29:15 -0600 +Subject: [PATCH] Use net10.0 TMF for source build + +Backport: https://github.com/NuGet/Home/issues/13914 +--- + build/common.project.props | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/build/common.project.props b/build/common.project.props +index caed84f2e..b76acfb72 100644 +--- a/build/common.project.props ++++ b/build/common.project.props +@@ -12,9 +12,9 @@ + net472 + netstandard2.0 + net8.0 +- net9.0 ++ net10.0 + netcoreapp3.1 +- net9.0 ++ net10.0 + net8.0 + + From cec13258941f543b4b7864cddf8621951d99f271 Mon Sep 17 00:00:00 2001 From: Matt Thalman Date: Wed, 6 Nov 2024 16:10:32 -0600 Subject: [PATCH 06/11] aspnetcore patch to target net10.0 --- ...0001-Target net10.0 TFM in RepoTasks.patch | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 src/SourceBuild/patches/aspnetcore/0001-Target net10.0 TFM in RepoTasks.patch diff --git a/src/SourceBuild/patches/aspnetcore/0001-Target net10.0 TFM in RepoTasks.patch b/src/SourceBuild/patches/aspnetcore/0001-Target net10.0 TFM in RepoTasks.patch new file mode 100644 index 000000000000..6b1f1ef71e4f --- /dev/null +++ b/src/SourceBuild/patches/aspnetcore/0001-Target net10.0 TFM in RepoTasks.patch @@ -0,0 +1,44 @@ +From 0612070b83354c70993ca1aa7eabd2babdf8a5c5 Mon Sep 17 00:00:00 2001 +From: Matt Thalman +Date: Wed, 6 Nov 2024 16:08:49 -0600 +Subject: [PATCH] Target net10.0 TFM in RepoTasks + +Backport: https://github.com/dotnet/aspnetcore/issues/58823 +--- + eng/tools/RepoTasks/RepoTasks.csproj | 4 ++-- + eng/tools/RepoTasks/RepoTasks.tasks | 2 +- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/eng/tools/RepoTasks/RepoTasks.csproj b/eng/tools/RepoTasks/RepoTasks.csproj +index 24f833af9b..c462a7517a 100644 +--- a/eng/tools/RepoTasks/RepoTasks.csproj ++++ b/eng/tools/RepoTasks/RepoTasks.csproj +@@ -1,6 +1,6 @@ + + +- net9.0 ++ $(DefaultNetCoreTargetFramework) + $(TargetFrameworks);net472 + $(DefineConstants);BUILD_MSI_TASKS + false +@@ -31,7 +31,7 @@ + + + +- ++ + + + +diff --git a/eng/tools/RepoTasks/RepoTasks.tasks b/eng/tools/RepoTasks/RepoTasks.tasks +index 0ad5b3ae45..b6cd9a820d 100644 +--- a/eng/tools/RepoTasks/RepoTasks.tasks ++++ b/eng/tools/RepoTasks/RepoTasks.tasks +@@ -1,6 +1,6 @@ + + +- <_RepoTaskAssemblyFolder Condition="'$(MSBuildRuntimeType)' == 'core'">net9.0 ++ <_RepoTaskAssemblyFolder Condition="'$(MSBuildRuntimeType)' == 'core'">$(DefaultNetCoreTargetFramework) + <_RepoTaskAssemblyFolder Condition="'$(MSBuildRuntimeType)' != 'core'">net472 + <_RepoTaskAssembly>$(ArtifactsBinDir)RepoTasks\Release\$(_RepoTaskAssemblyFolder)\RepoTasks.dll + From 934e9bd722eadfeed4f3c0a8d0f5069bea0f2439 Mon Sep 17 00:00:00 2001 From: Matt Thalman Date: Wed, 6 Nov 2024 16:22:45 -0600 Subject: [PATCH 07/11] Unpin runtime dependencies --- eng/Version.Details.xml | 22 ++++++++-------------- eng/Versions.props | 8 ++++---- 2 files changed, 12 insertions(+), 18 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 4e6ddb26789c..f4f40965f54b 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -254,11 +254,9 @@ https://github.com/dotnet/runtime 5b56f15ef5ac5ded75b342d31759d22d2202764d - - + https://github.com/dotnet/runtime - c4d7f7c6f2e2f34f07e64c6caa3bf9b2ce915cc1 + 5b56f15ef5ac5ded75b342d31759d22d2202764d https://github.com/dotnet/windowsdesktop @@ -585,15 +583,13 @@ https://github.com/dotnet/runtime 5b56f15ef5ac5ded75b342d31759d22d2202764d - + https://github.com/dotnet/runtime - c4d7f7c6f2e2f34f07e64c6caa3bf9b2ce915cc1 + 5b56f15ef5ac5ded75b342d31759d22d2202764d - - + https://github.com/dotnet/runtime - c4d7f7c6f2e2f34f07e64c6caa3bf9b2ce915cc1 + 5b56f15ef5ac5ded75b342d31759d22d2202764d @@ -627,11 +623,9 @@ 78eb939933628c20c88ddd88536a70f02ecc2945 - - + https://github.com/dotnet/runtime - c4d7f7c6f2e2f34f07e64c6caa3bf9b2ce915cc1 + 5b56f15ef5ac5ded75b342d31759d22d2202764d https://github.com/dotnet/arcade-services diff --git a/eng/Versions.props b/eng/Versions.props index e76423d91b7f..50fd61b34899 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -134,15 +134,15 @@ 10.0.0-alpha.1.24554.9 10.0.0-alpha.1.24554.9 10.0.0-alpha.1.24554.9 - 9.0.0-rc.2.24473.5 - 9.0.0-rc.2.24473.5 + 10.0.0-alpha.1.24554.9 + 10.0.0-alpha.1.24554.9 10.0.0-alpha.1.24554.9 10.0.0-alpha.1.24554.9 10.0.0-alpha.1.24554.9 - 9.0.0-rc.2.24473.5 + 10.0.0-alpha.1.24554.9 10.0.0-alpha.1.24554.9 10.0.0-alpha.1.24554.9 - 9.0.0-rc.2.24473.5 + 10.0.0-alpha.1.24554.9 10.0.0-alpha.1.24554.9 10.0.0-alpha.1.24554.9 From 21e15572b1cb2e6057073b1de21aadb441a3e615 Mon Sep 17 00:00:00 2001 From: Matt Thalman Date: Thu, 7 Nov 2024 09:01:41 -0600 Subject: [PATCH 09/11] Runtime patch --- ...001-Runtime patch to support net10.0.patch | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/SourceBuild/patches/runtime/0001-Runtime patch to support net10.0.patch diff --git a/src/SourceBuild/patches/runtime/0001-Runtime patch to support net10.0.patch b/src/SourceBuild/patches/runtime/0001-Runtime patch to support net10.0.patch new file mode 100644 index 000000000000..df1837178b43 --- /dev/null +++ b/src/SourceBuild/patches/runtime/0001-Runtime patch to support net10.0.patch @@ -0,0 +1,22 @@ +From 9ec08acee2d24f45be29469635db8494c5d4046c Mon Sep 17 00:00:00 2001 +From: Matt Thalman +Date: Thu, 7 Nov 2024 09:00:10 -0600 +Subject: [PATCH] Runtime patch to support net10.0 + +--- + .../src/ILLink.Tasks/build/Microsoft.NET.ILLink.Tasks.props | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.Tasks.props b/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.Tasks.props +index f624c914ea8..7db89422f2c 100644 +--- a/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.Tasks.props ++++ b/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.Tasks.props +@@ -18,7 +18,7 @@ Copyright (c) .NET Foundation. All rights reserved. + + true +- $(MSBuildThisFileDirectory)..\tools\net9.0\ILLink.Tasks.dll ++ $(MSBuildThisFileDirectory)..\tools\net10.0\ILLink.Tasks.dll + $(MSBuildThisFileDirectory)..\tools\net472\ILLink.Tasks.dll + + $(MSBuildThisFileDirectory)Microsoft.NET.ILLink.Analyzers.props From e9d00f9c3bf3b45dbf6ac222a1b37b7d0831cb11 Mon Sep 17 00:00:00 2001 From: Matt Thalman Date: Thu, 7 Nov 2024 12:44:58 -0600 Subject: [PATCH 10/11] Update prebuilts tarball version --- src/SourceBuild/content/eng/Versions.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SourceBuild/content/eng/Versions.props b/src/SourceBuild/content/eng/Versions.props index db80f84d2f85..f7b5f06253da 100644 --- a/src/SourceBuild/content/eng/Versions.props +++ b/src/SourceBuild/content/eng/Versions.props @@ -25,7 +25,7 @@ --> 10.0.100-alpha.1.24556.1 10.0.100-alpha.1.24556.1 - 0.1.0-10.0.100-4 + 0.1.0-10.0.100-5 2.0.0-beta4.24126.1 From 5206c52cd9abbb2db09368e3c577d4a8b0d8ab1a Mon Sep 17 00:00:00 2001 From: Matt Thalman Date: Thu, 7 Nov 2024 12:45:09 -0600 Subject: [PATCH 11/11] Add backport info to runtime patch --- .../patches/runtime/0001-Runtime patch to support net10.0.patch | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SourceBuild/patches/runtime/0001-Runtime patch to support net10.0.patch b/src/SourceBuild/patches/runtime/0001-Runtime patch to support net10.0.patch index df1837178b43..d69cf2541868 100644 --- a/src/SourceBuild/patches/runtime/0001-Runtime patch to support net10.0.patch +++ b/src/SourceBuild/patches/runtime/0001-Runtime patch to support net10.0.patch @@ -3,6 +3,7 @@ From: Matt Thalman Date: Thu, 7 Nov 2024 09:00:10 -0600 Subject: [PATCH] Runtime patch to support net10.0 +Backport: https://github.com/dotnet/runtime/pull/109619 --- .../src/ILLink.Tasks/build/Microsoft.NET.ILLink.Tasks.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)