Skip to content

Commit f9cd68a

Browse files
committed
add net462 target framework
1 parent 4980360 commit f9cd68a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Prometheus.Client.DependencyInjection.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>netstandard2.0;net6.0;net8.0</TargetFrameworks>
3+
<TargetFrameworks>net462;netstandard2.0;net6.0;net8.0</TargetFrameworks>
44
<Description>Dependency Injection extensions for Prometheus.Client</Description>
55
<RepositoryUrl>https://github.com/prom-client-net/prom-client-dependencyinjection</RepositoryUrl>
66
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
77
</PropertyGroup>
88
<ItemGroup>
9-
<PackageReference Include="Prometheus.Client" Version="5.2.0" />
9+
<PackageReference Include="Prometheus.Client" Verqsion="5.2.0" />
10+
<PackageReference Condition="'$(TargetFramework)' == 'net462'" Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="3.1.32" />
1011
<PackageReference Condition="'$(TargetFramework)' == 'netstandard2.0'" Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="3.1.32" />
1112
<PackageReference Condition="'$(TargetFramework)' == 'net6.0'" Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="6.0.0" />
1213
<PackageReference Condition="'$(TargetFramework)' == 'net8.0'" Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.2" />

0 commit comments

Comments
 (0)