From fed7577c59522b03dd50292e369426b82ed5664e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kim=20Vall=C3=A9n?= Date: Mon, 13 Jul 2026 13:31:09 +0200 Subject: [PATCH 1/2] Add .NET 10 target and update dependencies to 10.0.0 --- .github/workflows/ci.yml | 5 ++++- Directory.Build.props | 2 +- README.md | 8 +++++--- example/ConsoleExample/ConsoleExample.csproj | 8 ++++---- example/WebExample/WebExample.csproj | 2 +- global.json | 2 +- .../Seq.Extensions.Logging.csproj | 8 ++++---- .../Seq.Extensions.Logging.Tests.csproj | 10 +++++----- 8 files changed, 25 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e482c23..9b15ab8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,10 @@ jobs: - name: Setup uses: actions/setup-dotnet@v4 with: - dotnet-version: 9.0.x + dotnet-version: | + 8.0.x + 9.0.x + 10.0.x - name: Compute build number shell: bash run: | diff --git a/Directory.Build.props b/Directory.Build.props index 76e0c59..ca0e884 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,6 @@ - 9.0.1 + 10.0.0 latest enable enable diff --git a/README.md b/README.md index ba65a83..f15080d 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ This package makes it a one-liner to configure ASP.NET Core logging with Seq. ### Getting started -The instructions that follow are for **.NET 6.0+** web applications. +The instructions that follow are for **.NET 8.0+** web applications. Add [the NuGet package](https://nuget.org/packages/seq.extensions.logging) to your project either by editing the CSPROJ file, or using the NuGet package manager: @@ -176,8 +176,10 @@ Seq.Extensions.Logging.SelfLog.Enable(message => { ### Versioning policy The major version of this package tracks the major version of its _Microsoft.Extensions.Logging_ dependency. So, if your -application (on any target runtime) is targeting `net6.0`, use the latest 6.* version of this package. Likewise, if -you're targeting `net8.0`, target a 8.* version of _Seq.Extensions.Logging_ for the best experience. +application (on any target runtime) is targeting `net10.0`, use the latest 10.* version of this package. Likewise, if +you're targeting `net8.0` or `net9.0`, a 10.* version of _Seq.Extensions.Logging_ targets those runtimes as well. +Applications on older, out-of-support runtimes can continue to use the matching earlier major versions (e.g. 8.* for +`net8.0`-only stacks). ### Credits diff --git a/example/ConsoleExample/ConsoleExample.csproj b/example/ConsoleExample/ConsoleExample.csproj index b9f28d4..431f8b7 100644 --- a/example/ConsoleExample/ConsoleExample.csproj +++ b/example/ConsoleExample/ConsoleExample.csproj @@ -2,15 +2,15 @@ Exe - net9.0 + net10.0 enable enable - - - + + + diff --git a/example/WebExample/WebExample.csproj b/example/WebExample/WebExample.csproj index 525bd2e..c191533 100644 --- a/example/WebExample/WebExample.csproj +++ b/example/WebExample/WebExample.csproj @@ -1,7 +1,7 @@ - net9.0 + net10.0 enable enable diff --git a/global.json b/global.json index d5bf446..f72210c 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "9.0.100", + "version": "10.0.100", "rollForward": "latestFeature" } } \ No newline at end of file diff --git a/src/Seq.Extensions.Logging/Seq.Extensions.Logging.csproj b/src/Seq.Extensions.Logging/Seq.Extensions.Logging.csproj index bdf66ca..b8413c2 100644 --- a/src/Seq.Extensions.Logging/Seq.Extensions.Logging.csproj +++ b/src/Seq.Extensions.Logging/Seq.Extensions.Logging.csproj @@ -3,7 +3,7 @@ Add centralized structured log collection to ASP.NET Core apps with one line of code. Datalust and Contributors - netstandard2.0;net8.0;net9.0 + netstandard2.0;net8.0;net9.0;net10.0 true true ../../asset/seqext.snk @@ -19,9 +19,9 @@ - - - + + + diff --git a/test/Seq.Extensions.Logging.Tests/Seq.Extensions.Logging.Tests.csproj b/test/Seq.Extensions.Logging.Tests/Seq.Extensions.Logging.Tests.csproj index 267380a..accdd58 100644 --- a/test/Seq.Extensions.Logging.Tests/Seq.Extensions.Logging.Tests.csproj +++ b/test/Seq.Extensions.Logging.Tests/Seq.Extensions.Logging.Tests.csproj @@ -1,7 +1,7 @@  - net48;net8.0;net9.0 + net48;net8.0;net9.0;net10.0 ../../asset/seqext.snk true true @@ -13,13 +13,13 @@ - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + From a4a520d436995fd868ef30aa4cd3a360b3f8e7f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kim=20Vall=C3=A9n?= Date: Tue, 14 Jul 2026 10:37:32 +0200 Subject: [PATCH 2/2] Reverted Versioning policy section in README.md --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f15080d..373bcf9 100644 --- a/README.md +++ b/README.md @@ -176,10 +176,8 @@ Seq.Extensions.Logging.SelfLog.Enable(message => { ### Versioning policy The major version of this package tracks the major version of its _Microsoft.Extensions.Logging_ dependency. So, if your -application (on any target runtime) is targeting `net10.0`, use the latest 10.* version of this package. Likewise, if -you're targeting `net8.0` or `net9.0`, a 10.* version of _Seq.Extensions.Logging_ targets those runtimes as well. -Applications on older, out-of-support runtimes can continue to use the matching earlier major versions (e.g. 8.* for -`net8.0`-only stacks). +application (on any target runtime) is targeting `net6.0`, use the latest 6.* version of this package. Likewise, if +you're targeting `net8.0`, target a 8.* version of _Seq.Extensions.Logging_ for the best experience. ### Credits