Skip to content

Commit

Permalink
#323 Add net standard 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
thompson-tomo committed May 12, 2024
1 parent 2b5108f commit fe3c4f8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Consul/Consul.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net461</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net461;netstandard2.1</TargetFrameworks>
<Authors>PlayFab,$(Authors)</Authors>
<Copyright>Copyright 2015-2018 PlayFab Inc.; $(Copyright)</Copyright>
<Description>Consul.NET is a .NET client library for the Consul HTTP API</Description>
Expand All @@ -13,11 +13,15 @@
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="ConfigureAwaitChecker.Analyzer" Version="5.0.0.1" PrivateAssets="All" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="Microsoft.CSharp" Version="4.7.0"/>
</ItemGroup>

<ItemGroup Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' ">
<PackageReference Include="ILRepack" Version="2.0.18" PrivateAssets="All" />
<PackageReference Include="Microsoft.CSharp" Version="4.7.0"/>
<PackageReference Update="Newtonsoft.Json" PrivateAssets="All" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Net.Http.WebRequest" />
Expand Down

0 comments on commit fe3c4f8

Please sign in to comment.