Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<RootNamespace>Prometheus.Client</RootNamespace>
<TargetFrameworks>net462;net47;netstandard2.0;net6.0</TargetFrameworks>
<TargetFrameworks>net462;net47;netstandard2.0;net8.0</TargetFrameworks>
<Description>Abstractions for Prometheus.Client</Description>
<RepositoryUrl>https://github.com/prom-client-net/prom-client</RepositoryUrl>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Prometheus.Client/Prometheus.Client.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net462;net47;netstandard2.0;net6.0</TargetFrameworks>
<TargetFrameworks>net462;net47;netstandard2.0;net8.0</TargetFrameworks>
<Description>.NET client for Prometheus</Description>
<RepositoryUrl>https://github.com/prom-client-net/prom-client</RepositoryUrl>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<IsPackable>false</IsPackable>
<OutputType>Exe</OutputType>
<NoWarn>$(NoWarn);SA1133</NoWarn>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<IsPackable>false</IsPackable>
<NoWarn>$(NoWarn);SA1133</NoWarn>
<OutputType>Exe</OutputType>
Expand Down
27 changes: 18 additions & 9 deletions tests/Prometheus.Client.Tests/Prometheus.Client.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,27 +1,36 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks Condition="'$(OS)' == 'Unix'">net6.0;net8.0</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' != 'Unix'">net462;net47;net481;net6.0;net8.0</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' == 'Unix'">net8.0;net10.0</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' != 'Unix'">net462;net472;net481;net8.0;net10.0</TargetFrameworks>
<OutputType Condition="'$(OS)' != 'Unix' AND '$(TargetFramework)' != 'net462'">Exe</OutputType>
<IsPackable>false</IsPackable>
<InvariantGlobalization>true</InvariantGlobalization>
<NoWarn>$(NoWarn);CS0618</NoWarn>
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="**\Resources\*.txt" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
<PackageReference Include="NSubstitute" Version="5.3.0" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.*">
<PackageReference Include="coverlet.collector" Version="8.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="coverlet.msbuild" Version="8.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="6.0.4">
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net462'">
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.*">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="coverlet.msbuild" Version="6.0.4">
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' != 'net462'">
<PackageReference Include="xunit.v3" Version="3.2.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Loading