Skip to content

Commit 56a51db

Browse files
committed
feat: add net5.0 target framework
1 parent 7f7680f commit 56a51db

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI
1+
name: CI Branch
22

33
on:
44
push:

.github/workflows/master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI
1+
name: CI Master
22

33
on:
44
push:

.github/workflows/production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI
1+
name: CI Production
22

33
on:
44
push:

src/Prometheus.Client.AspNetCore/Prometheus.Client.AspNetCore.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<Description>Middleware for the Prometheus.Client</Description>
44
<Copyright>2020 © Serge K, Oleksandr Poliakov</Copyright>
55
<AssemblyTitle>Prometheus.Client.AspNetCore</AssemblyTitle>
6-
<VersionPrefix>4.2.0</VersionPrefix>
6+
<VersionPrefix>4.3.0</VersionPrefix>
77
<Authors>Serge K, Oleksandr Poliakov</Authors>
8-
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1</TargetFrameworks>
8+
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0</TargetFrameworks>
99
<AssemblyName>Prometheus.Client.AspNetCore</AssemblyName>
1010
<PackageId>Prometheus.Client.AspNetCore</PackageId>
1111
<PackageTags>prometheus;metrics</PackageTags>
@@ -33,12 +33,12 @@
3333
</None>
3434
</ItemGroup>
3535
<ItemGroup>
36-
<PackageReference Include="Prometheus.Client" Version="4.4.0" />
36+
<PackageReference Include="Prometheus.Client" Version="[4.4.0,5.0.0)" />
3737
</ItemGroup>
38-
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
38+
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1' OR '$(TargetFramework)' == 'net5.0'">
3939
<FrameworkReference Include="Microsoft.AspNetCore.App" />
4040
</ItemGroup>
41-
<ItemGroup Condition="'$(TargetFramework)' != 'netcoreapp3.1'">
41+
<ItemGroup Condition="'$(TargetFramework)' != 'netcoreapp3.1' AND '$(TargetFramework)' != 'net5.0'">
4242
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.2.0" />
4343
</ItemGroup>
4444
</Project>

0 commit comments

Comments
 (0)