From 12e8055708c825b13d2c3c77be9cf750d89c34c6 Mon Sep 17 00:00:00 2001 From: Francisco Gamino Date: Wed, 6 Apr 2022 11:45:33 -0700 Subject: [PATCH] Update PowerShell 7.0 to SDK 7.0.9 (#791) * Upgrade Microsoft.PowerShell.SDK to 7.0.9 * Upgrade to .NET SDK 3.1.417 * Upgrade to .NET SDK 5.0.406 --- src/Microsoft.Azure.Functions.PowerShellWorker.csproj | 2 +- ...Microsoft.Azure.Functions.PowerShellWorker.Test.csproj | 2 +- tools/helper.psm1 | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Microsoft.Azure.Functions.PowerShellWorker.csproj b/src/Microsoft.Azure.Functions.PowerShellWorker.csproj index 8b3dd359..b8ff16f3 100644 --- a/src/Microsoft.Azure.Functions.PowerShellWorker.csproj +++ b/src/Microsoft.Azure.Functions.PowerShellWorker.csproj @@ -21,7 +21,7 @@ Licensed under the MIT license. See LICENSE file in the project root for full li - + diff --git a/test/Unit/Microsoft.Azure.Functions.PowerShellWorker.Test.csproj b/test/Unit/Microsoft.Azure.Functions.PowerShellWorker.Test.csproj index 9c95ba34..e7b32f11 100644 --- a/test/Unit/Microsoft.Azure.Functions.PowerShellWorker.Test.csproj +++ b/test/Unit/Microsoft.Azure.Functions.PowerShellWorker.Test.csproj @@ -10,7 +10,7 @@ - + diff --git a/tools/helper.psm1 b/tools/helper.psm1 index 16194123..83dc8f31 100644 --- a/tools/helper.psm1 +++ b/tools/helper.psm1 @@ -11,13 +11,13 @@ $RepoRoot = (Resolve-Path "$PSScriptRoot/..").Path $DotnetSDKVersionRequirements = @{ # We need .NET SDK 3.1 for running the tests, as we still build against the 3.1 framework '3.1' = @{ - MinimalPatch = '416' - DefaultPatch = '416' + MinimalPatch = '417' + DefaultPatch = '417' } # We need .NET SDK 5.0 for the updated C# compiler '5.0' = @{ - MinimalPatch = '202' - DefaultPatch = '202' + MinimalPatch = '406' + DefaultPatch = '406' } }