-
Notifications
You must be signed in to change notification settings - Fork 9
Support .NET 10 #219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Support .NET 10 #219
Conversation
2ce2b16
to
5e1f32f
Compare
b4e81c1
to
48cee16
Compare
48cee16
to
7322c3e
Compare
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.
7322c3e
to
69eb80f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.0
across 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 |
Changes
Add support for .NET 10.
The intention is to leave this PR open for testing until .NET 10 ships as stable in November and upstream adds
net10.0
TFMs.Merge requirement checklist
CHANGELOG.md
updatedChanges in public API reviewed (if applicable)