Skip to content

Commit a01aefd

Browse files
committed
drop support for net461, netcoreapp3.1 and net5.0, which are eol
1 parent 730f1d3 commit a01aefd

File tree

4 files changed

+3
-9
lines changed

4 files changed

+3
-9
lines changed

.github/workflows/build-and-test.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
matrix:
1313
build-configuration: [ Debug, Release ]
14-
test-target-framework: [ net6.0, net5.0, netcoreapp3.1 ]
14+
test-target-framework: [ net6.0 ]
1515
name: Build And Test (${{ matrix.test-target-framework }}, ${{ matrix.build-configuration }})
1616
runs-on: ubuntu-latest
1717
steps:
@@ -21,8 +21,6 @@ jobs:
2121
with:
2222
dotnet-version: |
2323
6.x
24-
5.x
25-
3.1.x
2624
- name: Restore
2725
run: dotnet restore ${{ env.JsonDiffPatchSolutionPath }}
2826
- name: Build

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0;netstandard2.1;net461</TargetFrameworks>
4+
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
55
<Nullable>enable</Nullable>
66
<LangVersion>latest</LangVersion>
77
<GenerateDocumentationFile>true</GenerateDocumentationFile>

src/SystemTextJson.JsonDiffPatch/SystemTextJson.JsonDiffPatch.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@
1818
<PackageReference Include="System.Text.Json" Version="6.0.0" />
1919
</ItemGroup>
2020

21-
<ItemGroup Condition="'$(TargetFramework)' == 'net461'">
22-
<Reference Include="System.Web" />
23-
</ItemGroup>
24-
2521
<ItemGroup>
2622
<Compile Remove="JsonBytes.cs" />
2723
<None Include="JsonBytes.cs" />

test/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0;net461;net48</TargetFrameworks>
4+
<TargetFrameworks>net48;net6.0</TargetFrameworks>
55
</PropertyGroup>
66

77
<PropertyGroup>

0 commit comments

Comments
 (0)