1919    [ValidateSet (" Debug" ,  " Release" 
2020    [string ]$Configuration  =  (property Configuration Release), 
2121
22-     [ValidateSet (" net472" ,  " net6 .0" 
22+     [ValidateSet (" net472" ,  " net8 .0" 
2323    [string ]$TestFramework , 
2424
2525    [switch ]$CheckHelpContent 
@@ -31,7 +31,7 @@ Import-Module "$PSScriptRoot/tools/helper.psm1"
3131$targetDir  =  " bin/$Configuration /PSReadLine" 
3232
3333if  (-not  $TestFramework ) {
34-     $TestFramework  =  $IsWindows  ?  " net472" " net6 .0" 
34+     $TestFramework  =  $IsWindows  ?  " net472" " net8 .0" 
3535}
3636
3737function  ConvertTo-CRLF ([string ] $text ) {
@@ -58,7 +58,7 @@ Synopsis: Build the Polyfiller assembly
5858#> 
5959task BuildPolyfiller @polyFillerParams  {
6060    exec { dotnet publish - c $Configuration  -f  ' netstandard2.0' 
61-     exec { dotnet publish - c $Configuration  -f  ' net6 .0' 
61+     exec { dotnet publish - c $Configuration  -f  ' net8 .0' 
6262}
6363
6464<# 
@@ -123,7 +123,7 @@ task LayoutModule BuildPolyfiller, BuildMainModule, {
123123    }
124124
125125    Copy-Item  " Polyfill/bin/$Configuration /netstandard2.0/Microsoft.PowerShell.PSReadLine.Polyfiller.dll" " $targetDir /netstd" - Force
126-     Copy-Item  " Polyfill/bin/$Configuration /net6 .0/Microsoft.PowerShell.PSReadLine.Polyfiller.dll" " $targetDir /net6plus" - Force
126+     Copy-Item  " Polyfill/bin/$Configuration /net8 .0/Microsoft.PowerShell.PSReadLine.Polyfiller.dll" " $targetDir /net6plus" - Force
127127
128128    $binPath  =  " PSReadLine/bin/$Configuration /netstandard2.0/publish" 
129129    Copy-Item  $binPath / Microsoft.PowerShell.PSReadLine.dll $targetDir 
0 commit comments