From 0896ca451b5ea8a6f800c87a4d099cbccded2e07 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Wed, 20 Apr 2022 12:27:06 -0700 Subject: [PATCH] Bump `net461` to `net462` due to upcoming end of support See: https://devblogs.microsoft.com/dotnet/net-framework-4-5-2-4-6-4-6-1-will-reach-end-of-support-on-april-26-2022/ --- PowerShellEditorServices.build.ps1 | 2 +- .../PowerShellEditorServices.Hosting.csproj | 4 ++-- .../TestUtilities/TestUtilities.cs | 2 +- .../PowerShellEditorServices.Test.csproj | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/PowerShellEditorServices.build.ps1 b/PowerShellEditorServices.build.ps1 index 2a4cff2eb..f3a8bac83 100644 --- a/PowerShellEditorServices.build.ps1 +++ b/PowerShellEditorServices.build.ps1 @@ -39,7 +39,7 @@ $script:PsesCommonProps = [xml](Get-Content -Raw "$PSScriptRoot/PowerShellEditor $script:NetRuntime = @{ PS7 = 'netcoreapp3.1' PS72 = 'net6.0' - Desktop = 'net461' + Desktop = 'net462' Standard = 'netstandard2.0' } diff --git a/src/PowerShellEditorServices.Hosting/PowerShellEditorServices.Hosting.csproj b/src/PowerShellEditorServices.Hosting/PowerShellEditorServices.Hosting.csproj index 7e9c826f3..c5aa05dd4 100644 --- a/src/PowerShellEditorServices.Hosting/PowerShellEditorServices.Hosting.csproj +++ b/src/PowerShellEditorServices.Hosting/PowerShellEditorServices.Hosting.csproj @@ -2,7 +2,7 @@ - netcoreapp3.1;net461 + netcoreapp3.1;net462 Microsoft.PowerShell.EditorServices.Hosting @@ -21,7 +21,7 @@ - + diff --git a/test/PowerShellEditorServices.Test.Shared/TestUtilities/TestUtilities.cs b/test/PowerShellEditorServices.Test.Shared/TestUtilities/TestUtilities.cs index 555b51529..3c65f277c 100644 --- a/test/PowerShellEditorServices.Test.Shared/TestUtilities/TestUtilities.cs +++ b/test/PowerShellEditorServices.Test.Shared/TestUtilities/TestUtilities.cs @@ -44,7 +44,7 @@ public static string NormalizePath(string unixPath) /// The normalized and resolved path to it. public static string GetSharedPath(string path) { - // TODO: When testing net461 with x64 host, another .. is needed! + // TODO: When testing net462 with x64 host, another .. is needed! return NormalizePath(Path.Combine( Path.GetDirectoryName(typeof(TestUtilities).Assembly.Location), "../../../../PowerShellEditorServices.Test.Shared", diff --git a/test/PowerShellEditorServices.Test/PowerShellEditorServices.Test.csproj b/test/PowerShellEditorServices.Test/PowerShellEditorServices.Test.csproj index f543925e9..117e1d90f 100644 --- a/test/PowerShellEditorServices.Test/PowerShellEditorServices.Test.csproj +++ b/test/PowerShellEditorServices.Test/PowerShellEditorServices.Test.csproj @@ -2,7 +2,7 @@ - net6.0;netcoreapp3.1;net461 + net6.0;netcoreapp3.1;net462 Microsoft.PowerShell.EditorServices.Test x64 @@ -27,7 +27,7 @@ - + @@ -53,7 +53,7 @@ - + $(DefineConstants);CoreCLR