diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 30c002b69..d9611f3bb 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -206,18 +206,18 @@ - + https://github.com/dotnet/arcade - 71149d1f281ab5e066d1f524f4862152683f5144 + 3faeb9817f465151aa4bbcdb315f0a6170206760 - + https://github.com/dotnet/arcade - 71149d1f281ab5e066d1f524f4862152683f5144 + 3faeb9817f465151aa4bbcdb315f0a6170206760 - + https://github.com/dotnet/arcade - 71149d1f281ab5e066d1f524f4862152683f5144 + 3faeb9817f465151aa4bbcdb315f0a6170206760 https://github.com/dotnet/arcade-services @@ -227,17 +227,17 @@ https://github.com/dotnet/arcade-services 5263b603d90991a0c200aca8b8892c3d7cfe4751 - + https://github.com/dotnet/arcade - 71149d1f281ab5e066d1f524f4862152683f5144 + 3faeb9817f465151aa4bbcdb315f0a6170206760 https://github.com/dotnet/runtime af841c8b33cecc92d74222298f1e45bf7bf3d90a - + https://github.com/dotnet/source-build-reference-packages - b5ceed90b72d1b05975dd95fedd86c2455969adb + 9e09ace1897546ac85dab114a6e1a5b6f773db7a diff --git a/eng/Versions.props b/eng/Versions.props index b23e70b9b..4abf8cfaa 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -40,7 +40,7 @@ - 9.0.0-beta.23606.1 + 9.0.0-beta.23607.2 @@ -146,8 +146,10 @@ Therefore we stay at last month's version. We also need to special case the 1st patch release, because the incoming SDK version will never be 2 versions behind us in that case. Instead the indicator is that the incoming SDK version is not RTM or greater yet. - Preview releases already use -1 versionining so don't subtract one for that version + Preview releases already use -1 versionining so don't subtract one for that version. + In public builds, we always use the 2 month old version. --> + true true true $([MSBuild]::Subtract($(VersionFeature60), 1)) diff --git a/global.json b/global.json index 477fea67f..1834e0ff0 100644 --- a/global.json +++ b/global.json @@ -11,7 +11,7 @@ "cmake": "3.21.0" }, "msbuild-sdks": { - "Microsoft.DotNet.Arcade.Sdk": "9.0.0-beta.23606.1", - "Microsoft.DotNet.CMake.Sdk": "9.0.0-beta.23606.1" + "Microsoft.DotNet.Arcade.Sdk": "9.0.0-beta.23607.2", + "Microsoft.DotNet.CMake.Sdk": "9.0.0-beta.23607.2" } } diff --git a/src/SourceBuild/patches/runtime/0001-Use-net9.0-TFM.patch b/src/SourceBuild/patches/runtime/0001-Use-net9.0-TFM.patch new file mode 100644 index 000000000..fca3f5f24 --- /dev/null +++ b/src/SourceBuild/patches/runtime/0001-Use-net9.0-TFM.patch @@ -0,0 +1,37 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Matt Thalman +Date: Thu, 7 Dec 2023 15:53:03 -0600 +Subject: [PATCH] Use net9.0 TFM + +Backport: https://github.com/dotnet/source-build/issues/3663 +--- + Directory.Build.props | 2 +- + src/tools/illink/src/ILLink.Tasks/LinkTask.cs | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Directory.Build.props b/Directory.Build.props +index 2a5cd307f52..a068060eab8 100644 +--- a/Directory.Build.props ++++ b/Directory.Build.props +@@ -99,7 +99,7 @@ + +- 8.0 ++ 9.0 + net$(NetCoreAppToolCurrentVersion) + $(NetCoreAppCurrentIdentifier),Version=v$(NetCoreAppToolCurrentVersion) + +diff --git a/src/tools/illink/src/ILLink.Tasks/LinkTask.cs b/src/tools/illink/src/ILLink.Tasks/LinkTask.cs +index 5ac4ecd46ce..9fd5c536603 100644 +--- a/src/tools/illink/src/ILLink.Tasks/LinkTask.cs ++++ b/src/tools/illink/src/ILLink.Tasks/LinkTask.cs +@@ -262,7 +262,7 @@ public class ILLink : ToolTask + var taskDirectory = Path.GetDirectoryName (Assembly.GetExecutingAssembly ().Location); + #pragma warning restore IL3000 // Avoid accessing Assembly file path when publishing as a single file + // IL Linker always runs on .NET Core, even when using desktop MSBuild to host ILLink.Tasks. +- _illinkPath = Path.Combine (Path.GetDirectoryName (taskDirectory), "net8.0", "illink.dll"); ++ _illinkPath = Path.Combine (Path.GetDirectoryName (taskDirectory), "net9.0", "illink.dll"); + return _illinkPath; + } + set => _illinkPath = value; diff --git a/src/core-sdk-tasks/BuildFPMToolPreReqs.cs b/src/core-sdk-tasks/BuildFPMToolPreReqs.cs index ec43d0ae3..b24fbfd10 100644 --- a/src/core-sdk-tasks/BuildFPMToolPreReqs.cs +++ b/src/core-sdk-tasks/BuildFPMToolPreReqs.cs @@ -101,6 +101,7 @@ namespace Microsoft.DotNet.Build.Tasks // -a : architecture --JSON // -d : is for all dependent packages. This can be used multiple times to specify the dependencies of the package. --JSON // --rpm-os : the operating system to target this rpm --Static + // --rpm-digest : rpm digest algorithm --Static // --rpm-changelog : the changelog from FILEPATH contents --ARG // --rpm-summary : it is the RPM summary that shows in the Title --JSON // --description : it is the description for the package --JSON @@ -157,6 +158,7 @@ namespace Microsoft.DotNet.Build.Tasks } parameters.Add("--rpm-os linux"); + parameters.Add("--rpm-digest sha256"); parameters.Add(string.Concat("--rpm-changelog ", EscapeArg(Path.Combine(InputDir, "templates", "changelog")))); // Changelog File parameters.Add(string.Concat("--rpm-summary ", EscapeArg(configJson.Short_Description)));