From 68243b7fbf81394b84fe5349f811b476a7229930 Mon Sep 17 00:00:00 2001 From: Marko Lahma Date: Tue, 3 Dec 2024 18:46:16 +0200 Subject: [PATCH] Harmonize dependencies against NET 8 * drop NET 6 support which is EOL * make 8.0.x series default minimal * don't require System.Text.Json when it's built-in --- .github/workflows/dotnetcore.yml | 6 +++++ DeviceDetector.NET/DeviceDetector.NET.csproj | 24 ++++++++------------ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 7ee9e86..81a3cbe 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -14,6 +14,12 @@ jobs: runs-on: ubuntu-latest steps: + + - uses: actions/setup-dotnet@v4 + with: + dotnet-version: | + 9.0 + - uses: actions/checkout@v4 - name: Restore diff --git a/DeviceDetector.NET/DeviceDetector.NET.csproj b/DeviceDetector.NET/DeviceDetector.NET.csproj index 555cc30..11c6ed7 100644 --- a/DeviceDetector.NET/DeviceDetector.NET.csproj +++ b/DeviceDetector.NET/DeviceDetector.NET.csproj @@ -1,7 +1,7 @@  - netstandard2.0;net462;net6.0;net8.0;net9.0 + netstandard2.0;net462;net8.0;net9.0 DeviceDetectorNET 6.4.1 totpero @@ -216,24 +216,18 @@ - - + + + + + - - True - - - - True - \ - - - True - \ - + + +