|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 | <PropertyGroup> |
3 | | - <!-- The TESTFRAMEWORK variable allows us to override the target frameworks with a |
4 | | - single framework that we are testing; this allows us to test with older SDK |
5 | | - versions that would error out if they saw any newer target frameworks listed |
6 | | - here, even if we weren't running those. --> |
7 | | - <TestFramework Condition="'$(TESTFRAMEWORK)' == ''">netcoreapp3.1;net462;net6.0</TestFramework> |
8 | | - <TargetFrameworks>$(TESTFRAMEWORK)</TargetFrameworks> |
| 3 | + <TargetFrameworks>net8.0</TargetFrameworks> |
| 4 | + <TargetFrameworks Condition="$(OS) == 'Windows_NT'">$(TargetFrameworks);net462</TargetFrameworks> |
9 | 5 |
|
10 | 6 | <Copyright>Copyright © 2017 Catamorphic, Co.</Copyright> |
11 | 7 | </PropertyGroup> |
12 | 8 |
|
13 | 9 | <ItemGroup> |
14 | 10 | <PackageReference Include="LaunchDarkly.TestHelpers" Version="2.0.0" /> |
15 | | - <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.0" /> |
16 | | - <PackageReference Include="xunit" Version="2.4.2" /> |
17 | | - <PackageReference Include="xunit.runner.console" Version="2.4.2" /> |
18 | | - <PackageReference Include="xunit.runner.visualstudio" Version="2.4.5" /> |
19 | | - <PackageReference Include="JunitXml.TestLogger" Version="3.0.114" /> |
| 11 | + <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" /> |
| 12 | + <PackageReference Include="xunit" Version="2.9.2" /> |
| 13 | + <PackageReference Include="xunit.runner.visualstudio" Version="2.8.2"> |
| 14 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
| 15 | + <PrivateAssets>all</PrivateAssets> |
| 16 | + </PackageReference> |
20 | 17 | </ItemGroup> |
21 | 18 |
|
22 | 19 | <ItemGroup Condition=" '$(TargetFramework)' == 'net462' "> |
|
28 | 25 | <ItemGroup> |
29 | 26 | <ProjectReference Include="..\..\src\LaunchDarkly.EventSource\LaunchDarkly.EventSource.csproj" /> |
30 | 27 | </ItemGroup> |
31 | | - |
32 | | - <ItemGroup> |
33 | | - <None Update="xunit.runner.json"> |
34 | | - <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
35 | | - </None> |
36 | | - </ItemGroup> |
37 | 28 | </Project> |
0 commit comments