Skip to content

Commit

Permalink
add back support for netcoreapp2.1 TFM test
Browse files Browse the repository at this point in the history
System.Text.Json 5.0.2 has a dependency on a version of System.Runtime.CompilerServices.Unsafe which still supports netcoreapp2.1
  • Loading branch information
mfkl committed Jul 21, 2022
1 parent 8b5aedc commit e0b53e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Consul.Test/Consul.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net461;netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
<TargetFrameworks>net461;netcoreapp2.1;netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
<CopyLocalLockFileAssemblies Condition="'$(TargetFramework)' == 'netcoreapp2.1'" >true</CopyLocalLockFileAssemblies>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Consul/Consul.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="System.Text.Json" Version="6.0.2" />
<PackageReference Include="System.Text.Json" Version="5.0.2" />
</ItemGroup>


Expand Down

0 comments on commit e0b53e3

Please sign in to comment.