Skip to content

Commit

Permalink
feat: add net5.0 target framework
Browse files Browse the repository at this point in the history
  • Loading branch information
phnx47 committed Mar 22, 2021
1 parent 7f7680f commit 56a51db
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/branch.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: CI Branch

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: CI Master

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/production.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: CI Production

on:
push:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<Description>Middleware for the Prometheus.Client</Description>
<Copyright>2020 © Serge K, Oleksandr Poliakov</Copyright>
<AssemblyTitle>Prometheus.Client.AspNetCore</AssemblyTitle>
<VersionPrefix>4.2.0</VersionPrefix>
<VersionPrefix>4.3.0</VersionPrefix>
<Authors>Serge K, Oleksandr Poliakov</Authors>
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0</TargetFrameworks>
<AssemblyName>Prometheus.Client.AspNetCore</AssemblyName>
<PackageId>Prometheus.Client.AspNetCore</PackageId>
<PackageTags>prometheus;metrics</PackageTags>
Expand Down Expand Up @@ -33,12 +33,12 @@
</None>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Prometheus.Client" Version="4.4.0" />
<PackageReference Include="Prometheus.Client" Version="[4.4.0,5.0.0)" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1' OR '$(TargetFramework)' == 'net5.0'">
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' != 'netcoreapp3.1'">
<ItemGroup Condition="'$(TargetFramework)' != 'netcoreapp3.1' AND '$(TargetFramework)' != 'net5.0'">
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.2.0" />
</ItemGroup>
</Project>

0 comments on commit 56a51db

Please sign in to comment.