Repository navigation
[Infra] Update to .NET 11 stable - #8066
Merged
martincostello merged 10 commits intoNov 10, 2026
Merged
Conversation
- Update all pre-release versions for .NET 11 to stable release versions. - Remove now-redundant workarounds for pre-release issues.
martincostello
commented
Oct 29, 2026
Pull request dashboard statusMerged · refreshed 2026-11-10 21:31 UTC Status above doesn't look right?
|
Add PR number.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8066 +/- ##
==========================================
- Coverage 93.05% 93.04% -0.01%
==========================================
Files 402 402
Lines 23524 23524
Branches 4398 4398
==========================================
- Hits 21891 21889 -2
- Misses 1114 1115 +1
- Partials 519 520 +1
Flags with carried forward coverage won't be shown. Click here to find out more. |
Update RC3 package to stable.
Kielek
approved these changes
Nov 9, 2026
- Add container digests for 11.0 stable releases. - Update 10.0 packages to 10.0.15.
Fix new `XA1044` warnings.
Disable `ValidateSceneManifest` to fix `MT7199` error.
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The Android and MAUI net10.0-android Release configurations leave Mono AOT enabled while trimming is disabled, causing XA1030 build failures unless RunAOTCompilation=false is retained conditionally.
1 open issue
What changed in this PR
Updates OpenTelemetry .NET's build, test, and example infrastructure to .NET 11 stable.
Changes:
- Updates SDK, package, and container versions to .NET 11 stable, with accompanying .NET 10 patch updates.
- Removes prerelease workarounds and adjusts mobile test-app build settings.
- Documents the DiagnosticSource 11.0.0 dependency update.
| File | Description |
|---|---|
test/OpenTelemetry.Maui.TestApp/OpenTelemetry.Maui.TestApp.csproj |
Replaces the AOT opt-out with a ReadyToRun opt-out. |
test/OpenTelemetry.Instrumentation.W3cTraceContext.Tests/Dockerfile |
Updates pinned SDK images for propagation tests. |
test/OpenTelemetry.Exporter.OpenTelemetryProtocol.Tests/IntegrationTest/Dockerfile |
Updates pinned SDK images for exporter integration tests. |
test/OpenTelemetry.Apple.TestApp/OpenTelemetry.Apple.TestApp.csproj |
Disables scene-manifest validation. |
test/OpenTelemetry.AotCompatibility.TestApp/OpenTelemetry.AotCompatibility.TestApp.csproj |
Removes the optimized-publish workaround. |
test/OpenTelemetry.Android.TestApp/OpenTelemetry.Android.TestApp.csproj |
Replaces the AOT opt-out with a ReadyToRun opt-out. |
src/OpenTelemetry.Api/CHANGELOG.md |
Records the DiagnosticSource dependency update. |
global.json |
Selects the stable .NET 11 SDK. |
examples/MicroserviceExample/WorkerService/Dockerfile |
Updates SDK and runtime images. |
examples/MicroserviceExample/WebApi/Dockerfile |
Updates SDK and runtime images. |
Directory.Packages.props |
Updates centralized .NET package versions. |
build/Tests.targets |
Removes the ARM64 test-parallelism workaround. |
.oss-scanner/Dockerfile |
Uses the stable .NET 11 SDK image. |
Review effort: Balanced
This was referenced Nov 16, 2026
Open
Open
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
Merge requirement checklist
Tests added/updatedCHANGELOG.mdfile(s) updated for non-trivial changesChanges in public API reviewed (if applicable)Footnotes
Yes, I can answer maintainer questions about the content of this PR without using AI. ↩