@@ -40,12 +40,11 @@ $script:BuildInfoPath = "src/PowerShellEditorServices.Hosting/BuildInfo.cs"
4040
4141$script :NetFramework = @ {
4242 PS51 = ' net462'
43- PS72 = ' net6.0'
4443 PS74 = ' net8.0'
4544 Standard = ' netstandard2.0'
4645}
4746
48- $script :HostCoreOutput = " src/PowerShellEditorServices.Hosting/bin/$Configuration /$ ( $script :NetFramework.PS72 ) /publish"
47+ $script :HostCoreOutput = " src/PowerShellEditorServices.Hosting/bin/$Configuration /$ ( $script :NetFramework.PS74 ) /publish"
4948$script :HostDeskOutput = " src/PowerShellEditorServices.Hosting/bin/$Configuration /$ ( $script :NetFramework.PS51 ) /publish"
5049$script :PsesOutput = " src/PowerShellEditorServices/bin/$Configuration /$ ( $script :NetFramework.Standard ) /publish"
5150
@@ -128,7 +127,7 @@ task RestorePsesModules -If (-not (Test-Path "module/PSReadLine") -or -not (Test
128127Task Build FindDotNet, CreateBuildInfo, RestorePsesModules, {
129128 Write-Build DarkGreen " Building PowerShellEditorServices"
130129 Invoke-BuildExec { & dotnet publish $script :dotnetBuildArgs ./ src/ PowerShellEditorServices/ PowerShellEditorServices.csproj -f $script :NetFramework.Standard }
131- Invoke-BuildExec { & dotnet publish $script :dotnetBuildArgs ./ src/ PowerShellEditorServices.Hosting/ PowerShellEditorServices.Hosting.csproj -f $script :NetFramework.PS72 }
130+ Invoke-BuildExec { & dotnet publish $script :dotnetBuildArgs ./ src/ PowerShellEditorServices.Hosting/ PowerShellEditorServices.Hosting.csproj -f $script :NetFramework.PS74 }
132131
133132 if (-not $script :IsNix ) {
134133 Invoke-BuildExec { & dotnet publish $script :dotnetBuildArgs ./ src/ PowerShellEditorServices.Hosting/ PowerShellEditorServices.Hosting.csproj -f $script :NetFramework.PS51 }
@@ -201,11 +200,6 @@ Task TestPS74 Build, SetupHelpForTests, {
201200 Invoke-BuildExec { & dotnet $script :dotnetTestArgs $script :NetFramework.PS74 }
202201}
203202
204- Task TestPS72 Build, SetupHelpForTests, {
205- Set-Location ./ test/ PowerShellEditorServices.Test/
206- Invoke-BuildExec { & dotnet $script :dotnetTestArgs $script :NetFramework.PS72 }
207- }
208-
209203Task TestPS51 - If (-not $script :IsNix ) Build, SetupHelpForTests, {
210204 Set-Location ./ test/ PowerShellEditorServices.Test/
211205 # TODO: See https://github.com/dotnet/sdk/issues/18353 for x64 test host
@@ -299,7 +293,7 @@ Task TestE2EPowerShellCLM -If (-not $script:IsNix) Build, SetupHelpForTests, {
299293 }
300294}
301295
302- Task Test TestPS72 , TestPS74, TestE2EPwsh, TestPS51, TestE2EPowerShell
296+ Task Test TestPS74, TestE2EPwsh, TestPS51, TestE2EPowerShell
303297
304298Task TestFull Test, TestE2EDaily, TestE2EPwshCLM, TestE2EPowerShellCLM
305299
0 commit comments