Repository navigation
[Infra] Support .NET 11 - #6899
Merged
martincostello merged 247 commits intoOct 28, 2026
Merged
Conversation
martincostello
commented
Feb 15, 2026
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6899 +/- ##
==========================================
- Coverage 90.80% 90.70% -0.10%
==========================================
Files 381 382 +1
Lines 22512 22574 +62
Branches 4148 4177 +29
==========================================
+ Hits 20441 20475 +34
- Misses 1493 1512 +19
- Partials 578 587 +9
Flags with carried forward coverage won't be shown. Click here to find out more.
|
martincostello
added a commit
to martincostello/opentelemetry-dotnet
that referenced
this pull request
Feb 15, 2026
Update some references to .NET 8 to .NET 10 that were flushed out while working on open-telemetry#6899.
1 of 4 tasks
- Add support for building and testing with .NET 11, initially using .NET 11 preview 1. - Add `net11.0` TFMs. - Drop `net8.0` and `net9.0` TFMs. - Add workarounds for some issues pending their fixes.
Update System.Diagnostics.DiagnosticSource to 11.0.* that was missed in the previous commit and fix some missed analyzer warnings.
Copy-paste mistake.
Fix `NU1510` warning caused by workaround for aspnetcore issue.
Update CompatibilitySuppressions for .NET 11.
martincostello
force-pushed
the
dotnet-vnext
branch
from
February 17, 2026 09:55
71abd0d to
f361c14
Compare
Update to preview 2 of .NET 11.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This was referenced Nov 17, 2026
Merged
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.
Fixes open-telemetry/opentelemetry-dotnet-contrib#5191
Changes
Add support for building and testing with .NET 11.
net11.0targetnet8.0andnet9.0targetsSystem.Diagnostics.DiagnosticSourceto11.0.0-rc.3.26522.148ITracingBuilderinterface for configurationTODO Before Merge
Use stable (or RC) SDK and NuGet package versionsUse fully-qualified container image tags (i.e. not11.0-preview)Remove any workarounds for .NET 11 preview issuesSee belowPost-merge tasks if merged targeting .NET 11 RC2
Merge requirement checklist
CHANGELOG.mdfiles updated for non-trivial changesChanges in public API reviewed (if applicable)