Skip to content

Commit 3aa4f5c

Browse files
committed
Add PowerShell 7.4 SDK and net8.0 framework to tests
1 parent 8c3b031 commit 3aa4f5c

File tree

2 files changed

+2120
-130
lines changed

2 files changed

+2120
-130
lines changed

test/PowerShellEditorServices.Test/PowerShellEditorServices.Test.csproj

+10-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), PowerShellEditorServices.Common.props))\PowerShellEditorServices.Common.props" />
33

44
<PropertyGroup>
5-
<TargetFrameworks>net7.0;net6.0;net462</TargetFrameworks>
5+
<TargetFrameworks>net8.0;net7.0;net6.0;net462</TargetFrameworks>
66
<AssemblyName>Microsoft.PowerShell.EditorServices.Test</AssemblyName>
77
<TargetPlatform>x64</TargetPlatform>
88
</PropertyGroup>
@@ -16,14 +16,19 @@
1616
<ProjectReference Include="..\PowerShellEditorServices.Test.Shared\PowerShellEditorServices.Test.Shared.csproj" />
1717
</ItemGroup>
1818

19-
<!-- Latest PowerShell i.e. 7.3.x -->
19+
<!-- PowerShell 7.4.x -->
20+
<ItemGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
21+
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.4.0" />
22+
</ItemGroup>
23+
24+
<!-- PowerShell 7.3.x -->
2025
<ItemGroup Condition=" '$(TargetFramework)' == 'net7.0' ">
21-
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.3.5" />
26+
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.3.10" />
2227
</ItemGroup>
2328

24-
<!-- PowerShell LTS i.e. 7.2.x -->
29+
<!-- PowerShell 7.2.x -->
2530
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
26-
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.2.12" />
31+
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.2.17" />
2732
</ItemGroup>
2833

2934
<!-- Windows PowerShell 5.1 -->

0 commit comments

Comments
 (0)