Skip to content

Commit 23efd0e

Browse files
authored
Merge pull request #149 from prom-client-net/update-tfm
update to net8.0 target framework
2 parents dda49cf + 6a5120f commit 23efd0e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Prometheus.Client.MetricPusher.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<Description>Push metrics to PushGateaway for Prometheus.Client</Description>
4-
<TargetFrameworks>net462;netstandard2.0;net6.0</TargetFrameworks>
4+
<TargetFrameworks>net462;netstandard2.0;net8.0</TargetFrameworks>
55
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
66
<RepositoryUrl>https://github.com/prom-client-net/prom-client-metricpusher</RepositoryUrl>
77
</PropertyGroup>

tests/Prometheus.Client.MetricPusher.Tests.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks Condition="'$(OS)' == 'Unix'">net6.0;net8.0</TargetFrameworks>
4-
<TargetFrameworks Condition="'$(OS)' != 'Unix'">net462;net6.0;net8.0</TargetFrameworks>
3+
<TargetFramework Condition="'$(OS)' == 'Unix'">net8.0</TargetFramework>
4+
<TargetFrameworks Condition="'$(OS)' != 'Unix'">net462;net8.0</TargetFrameworks>
55
<IsPackable>false</IsPackable>
66
</PropertyGroup>
77
<ItemGroup>
8-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
8+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.0" />
99
<PackageReference Include="NSubstitute" Version="5.3.0" />
1010
<PackageReference Include="Testcontainers" Version="4.4.0" />
1111
<PackageReference Include="xunit" Version="2.9.3" />

0 commit comments

Comments
 (0)