From 4d8743f3b4c3a5ab3135a855a1d5dd262234dbe5 Mon Sep 17 00:00:00 2001 From: Ben Broderick Phillips Date: Thu, 12 Dec 2024 15:31:17 -0500 Subject: [PATCH] Update default to net8.0 for standalone exe script --- .../templates/scripts/assemble-dotnet-standalone-exe.ps1 | 4 ++-- .../templates/steps/produce-net-standalone-packs.yml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/eng/pipelines/templates/scripts/assemble-dotnet-standalone-exe.ps1 b/eng/pipelines/templates/scripts/assemble-dotnet-standalone-exe.ps1 index 6de6cb648a1..dbc908857f4 100644 --- a/eng/pipelines/templates/scripts/assemble-dotnet-standalone-exe.ps1 +++ b/eng/pipelines/templates/scripts/assemble-dotnet-standalone-exe.ps1 @@ -16,7 +16,7 @@ The root directory which will receive the compressed standalone executable. The targeted folder that should be built and assembled into a standalone executable. .PARAMETER Framework -The targeted .NET framework. Defaults to "net6.0." +The targeted .NET framework. Defaults to "net8.0." #> param( @@ -29,7 +29,7 @@ param( [Parameter(mandatory=$true)] [string] $AssemblyName, [Parameter(mandatory=$false)] - [string] $Framework = "net6.0" + [string] $Framework = "net8.0" ) # resolves to /win-x64 diff --git a/eng/pipelines/templates/steps/produce-net-standalone-packs.yml b/eng/pipelines/templates/steps/produce-net-standalone-packs.yml index e78048fd517..b5073e85e67 100644 --- a/eng/pipelines/templates/steps/produce-net-standalone-packs.yml +++ b/eng/pipelines/templates/steps/produce-net-standalone-packs.yml @@ -10,13 +10,13 @@ parameters: # A `BuildMatrix` is merely a list of possible targeted platforms. .NET 6+ can build for any target from any other target. # - rid: win-x64 - # framework: net6.0 + # framework: net8.0 # assembly: Azure.Sdk.Tools.TestProxy # - rid: linux-x64 - # framework: net6.0 + # framework: net8.0 # assembly: Azure.Sdk.Tools.TestProxy # - rid: osx-x64 - # framework: net6.0 + # framework: net8.0 # assembly: Azure.Sdk.Tools.TestProxy steps: @@ -65,7 +65,7 @@ steps: DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 DOTNET_CLI_TELEMETRY_OPTOUT: 1 DOTNET_MULTILEVEL_LOOKUP: 0 - + - template: /eng/common/pipelines/templates/steps/publish-1es-artifact.yml parameters: ArtifactName: "standalone-${{ target.rid }}"