Skip to content

Commit 305b485

Browse files
committed
feat: add net6.0 target framework
1 parent 90727c4 commit 305b485

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Prometheus.Client.MetricServer.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<Description>Standalone Kestrel server for the Prometheus.Client</Description>
4-
<VersionPrefix>4.3.1</VersionPrefix>
5-
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0</TargetFrameworks>
4+
<VersionPrefix>4.4.0</VersionPrefix>
5+
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
66
<PackageId>Prometheus.Client.MetricServer</PackageId>
77
<RepositoryUrl>https://github.com/prom-client-net/prom-client-metricserver</RepositoryUrl>
88
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
@@ -14,7 +14,7 @@
1414
<ItemGroup>
1515
<PackageReference Include="Prometheus.Client" Version="[4.5.3,5.0.0)" />
1616
</ItemGroup>
17-
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1' OR '$(TargetFramework)' == 'net5.0'">
17+
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1' OR '$(TargetFramework)' == 'net5.0' OR '$(TargetFramework)' == 'net6.0'">
1818
<FrameworkReference Include="Microsoft.AspNetCore.App" />
1919
</ItemGroup>
2020
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' OR '$(TargetFramework)' == 'netstandard2.1'">

tests/Prometheus.Client.MetricServer.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>netcoreapp3.1</TargetFramework>
3+
<TargetFramework>net6.0</TargetFramework>
44
<IsPackable>false</IsPackable>
55
<SignAssembly>true</SignAssembly>
66
<AssemblyOriginatorKeyFile>../Prometheus.Client.MetricServer.snk</AssemblyOriginatorKeyFile>

0 commit comments

Comments
 (0)