Skip to content

Commit 7114083

Browse files
committed
Fix removal of Newtonsoft.Json
1 parent fce0a73 commit 7114083

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

WebPush.Test/WebPush.Test.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net45;net46;net471;net48;netcoreapp2.0;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>net462;net471;net48;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
55
<IsPackable>false</IsPackable>
66
</PropertyGroup>
77

WebPush/WebPush.csproj

+4-9
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net45;net46;net471;net48;netstandard1.3;netstandard2.0;netstandard2.1;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>net462;net471;net48;netstandard2.0;netstandard2.1;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
55
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
66
<Version>1.0.12</Version>
77
<Authors>Cory Thompson</Authors>
@@ -18,18 +18,13 @@
1818
</PropertyGroup>
1919

2020
<ItemGroup>
21-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
22-
</ItemGroup>
23-
24-
25-
<ItemGroup>
26-
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />
2721
<PackageReference Include="Portable.BouncyCastle" Version="1.8.1.3" />
22+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
2823
</ItemGroup>
2924

30-
3125
<ItemGroup>
32-
<Reference Include="System.Net.Http" Condition="'$(TargetFramework)' == 'net46' OR '$(TargetFramework)' == 'net45' OR '$(TargetFramework)' == 'net48' OR '$(TargetFramework)' == 'net471'" />
26+
<Reference Include="System.Net.Http" Condition="'$(TargetFramework)' == 'net462' OR '$(TargetFramework)' == 'net471' OR '$(TargetFramework)' == 'net48'" />
27+
<PackageReference Include="System.Text.Json" Version="8.0.1" Condition="'$(TargetFramework)' == 'net462' OR '$(TargetFramework)' == 'net471' OR '$(TargetFramework)' == 'net48' OR '$(TargetFramework)' == 'netstandard2.0' OR '$(TargetFramework)' == 'netstandard2.1'"/>
3328
</ItemGroup>
3429

3530
</Project>

0 commit comments

Comments
 (0)