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