19
19
[ValidateSet (" Debug" , " Release" )]
20
20
[string ]$Configuration = (property Configuration Release),
21
21
22
- [ValidateSet (" net472" , " net6 .0" )]
22
+ [ValidateSet (" net472" , " net8 .0" )]
23
23
[string ]$TestFramework ,
24
24
25
25
[switch ]$CheckHelpContent
@@ -31,7 +31,7 @@ Import-Module "$PSScriptRoot/tools/helper.psm1"
31
31
$targetDir = " bin/$Configuration /PSReadLine"
32
32
33
33
if (-not $TestFramework ) {
34
- $TestFramework = $IsWindows ? " net472" : " net6 .0"
34
+ $TestFramework = $IsWindows ? " net472" : " net8 .0"
35
35
}
36
36
37
37
function ConvertTo-CRLF ([string ] $text ) {
@@ -58,7 +58,7 @@ Synopsis: Build the Polyfiller assembly
58
58
#>
59
59
task BuildPolyfiller @polyFillerParams {
60
60
exec { dotnet publish - c $Configuration -f ' netstandard2.0' Polyfill }
61
- exec { dotnet publish - c $Configuration -f ' net6 .0' Polyfill }
61
+ exec { dotnet publish - c $Configuration -f ' net8 .0' Polyfill }
62
62
}
63
63
64
64
<#
@@ -123,7 +123,7 @@ task LayoutModule BuildPolyfiller, BuildMainModule, {
123
123
}
124
124
125
125
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
127
127
128
128
$binPath = " PSReadLine/bin/$Configuration /netstandard2.0/publish"
129
129
Copy-Item $binPath / Microsoft.PowerShell.PSReadLine.dll $targetDir
0 commit comments