Skip to content

Commit

Permalink
influxdata#630 Add in net 5 and make dependency conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
thompson-tomo committed Apr 5, 2024
1 parent 0207f8e commit a3dc111
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Client/Client.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0</TargetFrameworks>
<LangVersion>8</LangVersion>

<Description>The reference client that allows query, write and management (bucket, organization, users) for the InfluxDB 2.x.</Description>
Expand Down Expand Up @@ -38,9 +38,11 @@
<PackageReference Include="JsonSubTypes" Version="2.0.1" />
<PackageReference Include="Microsoft.Extensions.ObjectPool" Version="8.0.3" />
<PackageReference Include="Microsoft.Net.Http.Headers" Version="2.2.8" />
<PackageReference Include="System.Collections.Immutable" Version="8.0.0" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="8.0.0" />
<PackageReference Include="System.Reactive" Version="6.0.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'netstandard2.1'">
<PackageReference Include="System.Collections.Immutable" Version="8.0.0" />
</ItemGroup>
</Project>

0 comments on commit a3dc111

Please sign in to comment.