Added .NET 10 target framework#663
Merged
ckadluba merged 1 commit intoserilog-mssql:devfrom Feb 14, 2026
Merged
Conversation
Member
ckadluba
commented
Feb 13, 2026
- Added TFM for .NET 10 in sink project
- Run tests also with .NET 10
- Updated perftest and sample projects to .NET 10
- Updated build scripts
- Added global.json for builds on CI agent
There was a problem hiding this comment.
Pull request overview
This PR updates the Serilog MSSqlServer sink repo to add .NET 10 support across the main sink project, test projects, samples, and CI/build tooling.
Changes:
- Add
net10.0target framework to the sink and test projects and run tests against it inBuild.ps1. - Update performance tests and several sample projects to target
net10.0. - Add a repo-level
global.jsonand update CI artifact paths to usenet10.0output.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
src/Serilog.Sinks.MSSqlServer/Serilog.Sinks.MSSqlServer.csproj |
Adds net10.0 to multi-targeting and includes appropriate conditional items. |
test/Serilog.Sinks.MSSqlServer.Tests/Serilog.Sinks.MSSqlServer.Tests.csproj |
Adds net10.0 to test TFMs and enables coverage collector for net10.0. |
test/Serilog.Sinks.MSSqlServer.PerformanceTests/Serilog.Sinks.MSSqlServer.PerformanceTests.csproj |
Moves perf tests to net10.0. |
Build.ps1 |
Executes test runs for net10.0 in the sequential TFM test loop. |
.github/workflows/pr-validation.yml |
Updates uploaded artifact path to the net10.0 build output. |
sample/WorkerServiceDemo/WorkerServiceDemo.csproj |
Updates sample TFM to net10.0. |
sample/CustomLogEventFormatterDemo/CustomLogEventFormatterDemo.csproj |
Updates sample TFM to net10.0. |
sample/CombinedConfigDemo/CombinedConfigDemo.csproj |
Updates sample TFM to net10.0. |
global.json |
Pins the SDK to 10.0.100 with prerelease roll-forward behavior. |
serilog-sinks-mssqlserver.sln |
Adds global.json as a solution item. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
* Added TFM for .NET 10 in sink project * Run tests also with .NET 10 * Updated perftest and sample projects to .NET 10 * Updated build scripts * Added global.json for builds on CI agent
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.