Skip to content

Commit

Permalink
Merge pull request #1032 from reactiveui/httpclientfactor-lts-support
Browse files Browse the repository at this point in the history
Add targets for netcoreapp3.1 so it can ref the older Http extensions
  • Loading branch information
clairernovotny authored Jan 24, 2021
2 parents df6f31c + 571c8d4 commit 4dbb540
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Refit.HttpClientFactory/Refit.HttpClientFactory.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<Product>Refit HTTP Client Factory Extensions</Product>
<Description>Refit HTTP Client Factory Extensions</Description>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFrameworks>net5.0;netcoreapp3.1;netstandard2.0</TargetFrameworks>
<Nullable>enable</Nullable>
</PropertyGroup>

Expand All @@ -12,4 +12,8 @@
<PackageReference Include="Microsoft.Extensions.Http" Version="5.0.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
<PackageReference Update="Microsoft.Extensions.Http" Version="3.1.11" />
</ItemGroup>

</Project>

0 comments on commit 4dbb540

Please sign in to comment.