Skip to content

Commit 3d65a3a

Browse files
committed
feat: add net5.0 target
1 parent b84c785 commit 3d65a3a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
<Description>MetricServer for the Prometheus.Client</Description>
44
<Copyright>2020 © Serge K, Oleksandr Poliakov</Copyright>
55
<AssemblyTitle>Prometheus.Client.MetricServer</AssemblyTitle>
6-
<VersionPrefix>4.1.0</VersionPrefix>
6+
<VersionPrefix>4.2.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
<LangVersion>latest</LangVersion>
1010
<AssemblyName>Prometheus.Client.MetricServer</AssemblyName>
1111
<PackageId>Prometheus.Client.MetricServer</PackageId>
1212
<PackageTags>prometheus;metrics</PackageTags>
1313
<PackageIcon>icon.png</PackageIcon>
14-
<PackageProjectUrl>https://github.com/PrometheusClientNet/Prometheus.Client.MetricServer</PackageProjectUrl>
14+
<PackageProjectUrl>https://github.com/prom-client-net/Prometheus.Client.MetricServer</PackageProjectUrl>
1515
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1616
<RepositoryType>git</RepositoryType>
17-
<RepositoryUrl>https://github.com/PrometheusClientNet/Prometheus.Client.MetricServer</RepositoryUrl>
17+
<RepositoryUrl>https://github.com/prom-client-net/Prometheus.Client.MetricServer</RepositoryUrl>
1818
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1919
<GenerateDocumentationFile>true</GenerateDocumentationFile>
2020
<SignAssembly>true</SignAssembly>
@@ -31,13 +31,13 @@
3131
</None>
3232
</ItemGroup>
3333
<ItemGroup>
34-
<PackageReference Include="Prometheus.Client" Version="4.4.0" />
34+
<PackageReference Include="Prometheus.Client" Version="[4.4.0,5.0.0)" />
3535
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
3636
</ItemGroup>
37-
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
37+
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1' OR '$(TargetFramework)' == 'net5.0'">
3838
<FrameworkReference Include="Microsoft.AspNetCore.App" />
3939
</ItemGroup>
40-
<ItemGroup Condition="'$(TargetFramework)' != 'netcoreapp3.1'">
40+
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' OR '$(TargetFramework)' == 'netstandard2.1'">
4141
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="2.2.0" />
4242
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel.Https" Version="2.2.0" />
4343
</ItemGroup>

0 commit comments

Comments
 (0)