Skip to content

Commit a3d7515

Browse files
Update target frameworks
1 parent e63e78f commit a3d7515

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

HttpClient.Caching/HttpClient.Caching.csproj

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,12 @@
3636
<PackageReadmeFile>README.md</PackageReadmeFile>
3737
</PropertyGroup>
3838

39-
<ItemGroup Condition=" '$(TargetFramework)' == 'NETFRAMEWORK' ">
40-
<Reference Include="System" />
39+
<ItemGroup>
40+
<PackageReference Include="Newtonsoft.Json" Version="[11.0.2,)" />
41+
</ItemGroup>
42+
43+
<ItemGroup Condition=" '$(TargetFramework)' == 'net462' ">
44+
<Reference Include="System.Net.Http" />
4145
</ItemGroup>
4246

4347
<ItemGroup>
@@ -46,5 +50,4 @@
4650
<PackagePath>\</PackagePath>
4751
</None>
4852
</ItemGroup>
49-
5053
</Project>

Tests/HttpClient.Caching.Tests/HttpClient.Caching.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
</PackageReference>
2222
</ItemGroup>
2323

24-
<ItemGroup Condition=" '$(TargetFramework)' == 'net452' ">
24+
<ItemGroup Condition=" '$(TargetFramework)' == 'net462' ">
2525
<Reference Include="System.Net.Http" />
2626
</ItemGroup>
2727

28-
<!-- Include files in the Resources directory to be used across the test suite -->
28+
<!-- Include files in the Resources directory to be used across the test suite -->
2929
<ItemGroup>
3030
<EmbeddedResource Include="Resources\**\*.*" />
3131
</ItemGroup>

0 commit comments

Comments
 (0)