Skip to content

Commit 5642771

Browse files
committed
build: add netcoreapp3.1
1 parent 2e51b94 commit 5642771

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Prometheus.Client.MetricServer/Prometheus.Client.MetricServer.csproj

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<AssemblyTitle>Prometheus.Client.MetricServer</AssemblyTitle>
66
<VersionPrefix>4.0.0</VersionPrefix>
77
<Authors>Serge K, Oleksandr Poliakov</Authors>
8-
<TargetFrameworks>netstandard2.0;netcoreapp2.2;netstandard2.1</TargetFrameworks>
8+
<TargetFrameworks>netstandard2.0;netcoreapp2.2;netstandard2.1;netcoreapp3.1</TargetFrameworks>
99
<LangVersion>latest</LangVersion>
1010
<AssemblyName>Prometheus.Client.MetricServer</AssemblyName>
1111
<PackageId>Prometheus.Client.MetricServer</PackageId>
@@ -29,6 +29,11 @@
2929
</ItemGroup>
3030
<ItemGroup>
3131
<PackageReference Include="Prometheus.Client" Version="4.1.0" />
32+
</ItemGroup>
33+
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
34+
<FrameworkReference Include="Microsoft.AspNetCore.App" />
35+
</ItemGroup>
36+
<ItemGroup Condition="'$(TargetFramework)' != 'netcoreapp3.1'">
3237
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="2.2.0" />
3338
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel.Https" Version="2.2.0" />
3439
</ItemGroup>

0 commit comments

Comments
 (0)