From 004e098c1aa18846dcb1be332e95e0ce52f9930a Mon Sep 17 00:00:00 2001 From: wtgodbe Date: Wed, 4 Jan 2023 12:27:15 -0800 Subject: [PATCH 1/8] Update to net8.0 SDK --- eng/tools/RepoTasks/RepoTasks.csproj | 4 ++-- eng/tools/RepoTasks/RepoTasks.tasks | 2 +- global.json | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/eng/tools/RepoTasks/RepoTasks.csproj b/eng/tools/RepoTasks/RepoTasks.csproj index 312fdfba39ed..5f9e4f60ae98 100644 --- a/eng/tools/RepoTasks/RepoTasks.csproj +++ b/eng/tools/RepoTasks/RepoTasks.csproj @@ -1,6 +1,6 @@ - net7.0 + $(DefaultNetCoreTargetFramework) $(TargetFrameworks);net472 $(DefineConstants);BUILD_MSI_TASKS false @@ -19,7 +19,7 @@ - + diff --git a/eng/tools/RepoTasks/RepoTasks.tasks b/eng/tools/RepoTasks/RepoTasks.tasks index 984927a7f76d..788558c3fa4c 100644 --- a/eng/tools/RepoTasks/RepoTasks.tasks +++ b/eng/tools/RepoTasks/RepoTasks.tasks @@ -1,6 +1,6 @@ - <_RepoTaskAssemblyFolder Condition="'$(MSBuildRuntimeType)' == 'core'">net7.0 + <_RepoTaskAssemblyFolder Condition="'$(MSBuildRuntimeType)' == 'core'">$(DefaultNetCoreTargetFramework) <_RepoTaskAssemblyFolder Condition="'$(MSBuildRuntimeType)' != 'core'">net472 <_RepoTaskAssembly>$(ArtifactsBinDir)RepoTasks\Release\$(_RepoTaskAssemblyFolder)\RepoTasks.dll diff --git a/global.json b/global.json index dd810f15653d..71f397c408af 100644 --- a/global.json +++ b/global.json @@ -1,9 +1,9 @@ { "sdk": { - "version": "8.0.100-alpha.1.22531.1" + "version": "8.0.100-alpha.1.23054.2" }, "tools": { - "dotnet": "8.0.100-alpha.1.22531.1", + "dotnet": "8.0.100-alpha.1.23054.2", "runtimes": { "dotnet/x86": [ "$(MicrosoftNETCoreBrowserDebugHostTransportVersion)" From 72c71bfbc9ef2ab9d6df0b32ed659a9cf87609c7 Mon Sep 17 00:00:00 2001 From: William Godbe Date: Wed, 4 Jan 2023 19:47:28 -0800 Subject: [PATCH 2/8] Update global.json --- global.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/global.json b/global.json index 71f397c408af..6a8212593e17 100644 --- a/global.json +++ b/global.json @@ -1,9 +1,9 @@ { "sdk": { - "version": "8.0.100-alpha.1.23054.2" + "version": "8.0.100-alpha.1.23054.7" }, "tools": { - "dotnet": "8.0.100-alpha.1.23054.2", + "dotnet": "8.0.100-alpha.1.23054.7", "runtimes": { "dotnet/x86": [ "$(MicrosoftNETCoreBrowserDebugHostTransportVersion)" From 5e807479f255f2e9b5a06c160d95ab5db217ddab Mon Sep 17 00:00:00 2001 From: William Godbe Date: Thu, 5 Jan 2023 14:27:11 -0800 Subject: [PATCH 3/8] Update Directory.Build.targets.in --- eng/tools/GenerateFiles/Directory.Build.targets.in | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/eng/tools/GenerateFiles/Directory.Build.targets.in b/eng/tools/GenerateFiles/Directory.Build.targets.in index c32b42949f8c..2764eb1a609e 100644 --- a/eng/tools/GenerateFiles/Directory.Build.targets.in +++ b/eng/tools/GenerateFiles/Directory.Build.targets.in @@ -121,4 +121,18 @@ + + + + + + + From 169ba9c70c886ce07fe76106405b0535d6552586 Mon Sep 17 00:00:00 2001 From: William Godbe Date: Fri, 6 Jan 2023 10:31:15 -0800 Subject: [PATCH 4/8] Update RedisHubLifetimeManager.cs --- .../server/StackExchangeRedis/src/RedisHubLifetimeManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SignalR/server/StackExchangeRedis/src/RedisHubLifetimeManager.cs b/src/SignalR/server/StackExchangeRedis/src/RedisHubLifetimeManager.cs index 84c9e5d41af0..111e2520a7cd 100644 --- a/src/SignalR/server/StackExchangeRedis/src/RedisHubLifetimeManager.cs +++ b/src/SignalR/server/StackExchangeRedis/src/RedisHubLifetimeManager.cs @@ -593,7 +593,7 @@ private async Task SubscribeToConnection(HubConnectionContext connection) } catch (Exception ex) { - RedisLog.ErrorForwardingResult(_logger, completionMessage.InvocationId, ex); + RedisLog.ErrorForwardingResult(_logger, completionMessage.InvocationId!, ex); } })); From 793aaff78d4df1766a6e93d056addb50b3fcbc92 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" Date: Fri, 6 Jan 2023 19:11:31 +0000 Subject: [PATCH 5/8] Update dependencies from https://github.com/dotnet/arcade build 20230105.3 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Helix.Sdk From Version 8.0.0-beta.22630.1 -> To Version 8.0.0-beta.23055.3 --- eng/Version.Details.xml | 16 ++++++++-------- eng/Versions.props | 4 ++-- eng/common/templates/job/source-index-stage1.yml | 6 +++--- eng/common/tools.ps1 | 4 +++- eng/common/tools.sh | 4 +++- global.json | 8 ++++---- 6 files changed, 23 insertions(+), 19 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 5e76f1a5f179..a6b410ce4e21 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -302,22 +302,22 @@ https://github.com/dotnet/runtime 9197fd555152762b2f400459d46cb14ad741bf75 - + https://github.com/dotnet/arcade - e82404fca08383513e0b0b3c5308d4a9b18b7c7a + 7502a87ca569989008d3acef120b614604b6805f - + https://github.com/dotnet/arcade - e82404fca08383513e0b0b3c5308d4a9b18b7c7a + 7502a87ca569989008d3acef120b614604b6805f - + https://github.com/dotnet/arcade - e82404fca08383513e0b0b3c5308d4a9b18b7c7a + 7502a87ca569989008d3acef120b614604b6805f - + https://github.com/dotnet/arcade - e82404fca08383513e0b0b3c5308d4a9b18b7c7a + 7502a87ca569989008d3acef120b614604b6805f diff --git a/eng/Versions.props b/eng/Versions.props index 9e43fb88dc9e..bd4c452391b2 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -135,8 +135,8 @@ 8.0.0-alpha.1.23056.1 8.0.0-alpha.1.23056.1 - 8.0.0-beta.22630.1 - 8.0.0-beta.22630.1 + 8.0.0-beta.23055.3 + 8.0.0-beta.23055.3 8.0.0-alpha.1.22615.1 diff --git a/eng/common/templates/job/source-index-stage1.yml b/eng/common/templates/job/source-index-stage1.yml index 09c506d11855..71b66aeb8a5c 100644 --- a/eng/common/templates/job/source-index-stage1.yml +++ b/eng/common/templates/job/source-index-stage1.yml @@ -1,6 +1,6 @@ parameters: runAsPublic: false - sourceIndexPackageVersion: 1.0.1-20220804.1 + sourceIndexPackageVersion: 1.0.1-20221220.2 sourceIndexPackageSource: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json sourceIndexBuildCommand: powershell -NoLogo -NoProfile -ExecutionPolicy Bypass -Command "eng/common/build.ps1 -restore -build -binarylog -ci" preSteps: [] @@ -40,10 +40,10 @@ jobs: - ${{ preStep }} - task: UseDotNet@2 - displayName: Use .NET Core sdk 3.1 + displayName: Use .NET Core SDK 6 inputs: packageType: sdk - version: 3.1.x + version: 6.0.x installationPath: $(Agent.TempDirectory)/dotnet workingDirectory: $(Agent.TempDirectory) diff --git a/eng/common/tools.ps1 b/eng/common/tools.ps1 index 1a8c16c56e56..7caacc6de2e1 100644 --- a/eng/common/tools.ps1 +++ b/eng/common/tools.ps1 @@ -581,7 +581,7 @@ function InitializeBuildTool() { ExitWithExitCode 1 } $dotnetPath = Join-Path $dotnetRoot (GetExecutableFileName 'dotnet') - $buildTool = @{ Path = $dotnetPath; Command = 'msbuild'; Tool = 'dotnet'; Framework = 'net7.0' } + $buildTool = @{ Path = $dotnetPath; Command = 'msbuild'; Tool = 'dotnet'; Framework = 'net8.0' } } elseif ($msbuildEngine -eq "vs") { try { $msbuildPath = InitializeVisualStudioMSBuild -install:$restore @@ -743,6 +743,8 @@ function MSBuild() { (Join-Path $basePath (Join-Path netcoreapp2.1 'Microsoft.DotNet.Arcade.Sdk.dll')) (Join-Path $basePath (Join-Path netcoreapp3.1 'Microsoft.DotNet.ArcadeLogging.dll')), (Join-Path $basePath (Join-Path netcoreapp3.1 'Microsoft.DotNet.Arcade.Sdk.dll')) + (Join-Path $basePath (Join-Path net7.0 'Microsoft.DotNet.ArcadeLogging.dll')), + (Join-Path $basePath (Join-Path net7.0 'Microsoft.DotNet.Arcade.Sdk.dll')) ) $selectedPath = $null foreach ($path in $possiblePaths) { diff --git a/eng/common/tools.sh b/eng/common/tools.sh index 2f27d7453cd4..cf9fb1ea2d32 100755 --- a/eng/common/tools.sh +++ b/eng/common/tools.sh @@ -312,7 +312,7 @@ function InitializeBuildTool { # return values _InitializeBuildTool="$_InitializeDotNetCli/dotnet" _InitializeBuildToolCommand="msbuild" - _InitializeBuildToolFramework="net7.0" + _InitializeBuildToolFramework="net8.0" } # Set RestoreNoCache as a workaround for https://github.com/NuGet/Home/issues/3116 @@ -428,6 +428,8 @@ function MSBuild { possiblePaths+=( "$toolset_dir/netcoreapp2.1/Microsoft.DotNet.Arcade.Sdk.dll" ) possiblePaths+=( "$toolset_dir/netcoreapp3.1/Microsoft.DotNet.ArcadeLogging.dll" ) possiblePaths+=( "$toolset_dir/netcoreapp3.1/Microsoft.DotNet.Arcade.Sdk.dll" ) + possiblePaths+=( "$toolset_dir/net7.0/Microsoft.DotNet.ArcadeLogging.dll" ) + possiblePaths+=( "$toolset_dir/net7.0/Microsoft.DotNet.Arcade.Sdk.dll" ) for path in "${possiblePaths[@]}"; do if [[ -f $path ]]; then selectedPath=$path diff --git a/global.json b/global.json index dd810f15653d..17a119bfa118 100644 --- a/global.json +++ b/global.json @@ -1,9 +1,9 @@ { "sdk": { - "version": "8.0.100-alpha.1.22531.1" + "version": "8.0.100-alpha.1.23055.1" }, "tools": { - "dotnet": "8.0.100-alpha.1.22531.1", + "dotnet": "8.0.100-alpha.1.23055.1", "runtimes": { "dotnet/x86": [ "$(MicrosoftNETCoreBrowserDebugHostTransportVersion)" @@ -27,7 +27,7 @@ }, "msbuild-sdks": { "Yarn.MSBuild": "1.22.10", - "Microsoft.DotNet.Arcade.Sdk": "8.0.0-beta.22630.1", - "Microsoft.DotNet.Helix.Sdk": "8.0.0-beta.22630.1" + "Microsoft.DotNet.Arcade.Sdk": "8.0.0-beta.23055.3", + "Microsoft.DotNet.Helix.Sdk": "8.0.0-beta.23055.3" } } From 687c93534ac105efc360f27f374f6623cfb038c6 Mon Sep 17 00:00:00 2001 From: wtgodbe Date: Fri, 6 Jan 2023 12:58:51 -0800 Subject: [PATCH 6/8] NoWarn --- src/Servers/IIS/IIS/test/IIS.Tests/IIS.Tests.csproj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Servers/IIS/IIS/test/IIS.Tests/IIS.Tests.csproj b/src/Servers/IIS/IIS/test/IIS.Tests/IIS.Tests.csproj index 605656b95560..cf1467da3aa2 100644 --- a/src/Servers/IIS/IIS/test/IIS.Tests/IIS.Tests.csproj +++ b/src/Servers/IIS/IIS/test/IIS.Tests/IIS.Tests.csproj @@ -6,6 +6,7 @@ $(DefaultNetCoreTargetFramework) true true + $(NoWarn);CA2200 From 67b1647ad9bdf368b466719dd7b40d10bdb6bf99 Mon Sep 17 00:00:00 2001 From: William Godbe Date: Sun, 8 Jan 2023 07:22:50 -0800 Subject: [PATCH 7/8] Update WasmLinkerTest.csproj --- .../WebAssembly/testassets/WasmLinkerTest/WasmLinkerTest.csproj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Components/WebAssembly/testassets/WasmLinkerTest/WasmLinkerTest.csproj b/src/Components/WebAssembly/testassets/WasmLinkerTest/WasmLinkerTest.csproj index 252481a43034..99e41f9663fa 100644 --- a/src/Components/WebAssembly/testassets/WasmLinkerTest/WasmLinkerTest.csproj +++ b/src/Components/WebAssembly/testassets/WasmLinkerTest/WasmLinkerTest.csproj @@ -5,6 +5,7 @@ true true true + true From b2ce0c2b749cd6be4d8fa38667fbf47df11d9f4a Mon Sep 17 00:00:00 2001 From: William Godbe Date: Sun, 8 Jan 2023 07:23:15 -0800 Subject: [PATCH 8/8] Update LinkabilityChecker.csproj --- src/Tools/LinkabilityChecker/LinkabilityChecker.csproj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Tools/LinkabilityChecker/LinkabilityChecker.csproj b/src/Tools/LinkabilityChecker/LinkabilityChecker.csproj index f17c1eb60bb2..39a32a75a240 100644 --- a/src/Tools/LinkabilityChecker/LinkabilityChecker.csproj +++ b/src/Tools/LinkabilityChecker/LinkabilityChecker.csproj @@ -3,6 +3,7 @@ $(DefaultNetCoreTargetFramework) false Exe + true