Skip to content

Commit 2d8fe77

Browse files
committed
test: update target frameworks
1 parent 69db6e5 commit 2d8fe77

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/Prometheus.Client.MetricServer.Tests.csproj

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>netcoreapp3.1;net6.0;net7.0</TargetFrameworks>
4-
<InvariantGlobalization>true</InvariantGlobalization>
3+
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
54
<NoWarn>$(NoWarn);CS0618</NoWarn>
65
<IsPackable>false</IsPackable>
76
</PropertyGroup>
87
<ItemGroup>
98
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
109
<PackageReference Include="xunit" Version="2.9.0" />
11-
<PackageReference Condition="'$(TargetFramework)' != 'netcoreapp3.1'" Include="xunit.runner.visualstudio" Version="2.8.2" />
12-
<PackageReference Condition="'$(TargetFramework)' == 'netcoreapp3.1'" Include="xunit.runner.visualstudio" Version="2.4.*" />
10+
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
11+
<PrivateAssets>all</PrivateAssets>
12+
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
13+
</PackageReference>
1314
<PackageReference Include="coverlet.collector" Version="6.0.2">
1415
<PrivateAssets>all</PrivateAssets>
1516
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

0 commit comments

Comments
 (0)