Support .NET 10#219
Merged
martincostello merged 30 commits intomainfrom Nov 14, 2025
Merged
Conversation
2ce2b16 to
5e1f32f
Compare
b4e81c1 to
48cee16
Compare
48cee16 to
7322c3e
Compare
7322c3e to
69eb80f
Compare
There was a problem hiding this comment.
Pull Request Overview
This PR adds support for .NET 10 by updating target frameworks and dependencies across the project structure. The changes prepare the codebase for testing with .NET 10 release candidate versions before the stable release in November.
Key changes:
- Updated target frameworks to include
net10.0across all project files - Migrated from .NET 8.0 to .NET 10.0 RC versions for SDK and package dependencies
- Restructured examples and Docker configurations to use .NET 10.0
Reviewed Changes
Copilot reviewed 13 out of 22 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/Grafana.OpenTelemetry.Tests/Grafana.OpenTelemetry.Tests.csproj | Added net10.0 target framework alongside existing net8.0 |
| src/Grafana.OpenTelemetry/Grafana.OpenTelemetry.csproj | Added net10.0 as the first target framework |
| src/Grafana.OpenTelemetry.Base/Grafana.OpenTelemetry.Base.csproj | Added net10.0 target framework and conditional package reference updates |
| global.json | Updated .NET SDK version to 10.0.100-rc.1 |
| examples/net8.0/aspnetcore/Dockerfile | Removed .NET 8.0 Dockerfile |
| examples/net10.0/aspnetcore/aspnetcore.csproj | Updated target framework and Entity Framework package to net10.0/v10.0.0-rc.1 |
| examples/net10.0/aspnetcore/Dockerfile | Added new .NET 10.0 Dockerfile with RC images |
| docker/docker-compose-* | Updated Docker compose files to reference net10.0 example |
| GrafanaOpenTelemetry.slnx | Added new solution file with net10.0 example project |
| GrafanaOpenTelemetry.sln | Removed legacy solution file |
| .github/workflows/ci.yml | Added explicit .NET 8 SDK setup step |
Add support for .NET 10, using .NET 10 preview 6 initially.
- Install the .NET 8 SDK for testing. - Install the .NET SDK from `global.json` before running `dotnet format`.
Update to preview 7 of .NET 10.
Update to release candidate 1 of .NET 10.
69eb80f to
0284267
Compare
Update to release candidate 2 of .NET 10.
martincostello
commented
Oct 16, 2025
3 tasks
martincostello
commented
Nov 12, 2025
martincostello
commented
Nov 12, 2025
martincostello
commented
Nov 12, 2025
martincostello
commented
Nov 12, 2025
martincostello
commented
Nov 12, 2025
martincostello
commented
Nov 12, 2025
Update to stable release of .NET 10.
Add further entries for new version bumps.
Update all OpenTelemetry NuGet packages to their latest versions.
Initial updates for 1.14.
Apply fixes for comments from Copilot.
Add remaining changes for 1.14.*.
Update to latest 1.14.* packages.
Update all NuGet packages to their latest versions.
Member
Author
|
Merged #273 into this PR, will rebase onto main once that's merged. |
Fix incorrect condition to override System.Text.Json now that `net10.0` has been added.
matt-hensley
approved these changes
Nov 14, 2025
matt-hensley
approved these changes
Nov 14, 2025
This was referenced Jan 9, 2026
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.
Changes
Add support for .NET 10.
I think the easiest way to do it is to merge #273 once open-telemetry/opentelemetry-dotnet#6667 and open-telemetry/opentelemetry-dotnet-contrib#3403 are merged and released so we get the 1.14.* releases which havenet10.0targets, then rebase this and merge.Merge requirement checklist
CHANGELOG.mdupdatedChanges in public API reviewed (if applicable)