Support .NET 11#3867
Draft
martincostello wants to merge 70 commits into
Draft
Conversation
martincostello
added a commit
to martincostello/opentelemetry-dotnet-contrib
that referenced
this pull request
Feb 16, 2026
Cherry-pick changes from open-telemetry#3867: - Update documentation references to .NET 10. - Fix xunit analyzer warnings for untyped data. - "De-code" some documentation references to .NET versions. - Remove version numbers from some unit test names.
4 tasks
Apply Copilot review comments and fix `server.address` attribute value.
Fix new code analysis warnings.
Fix benchmark.
4 tasks
Update to preview 4 of .NET 11.
martincostello
commented
May 14, 2026
martincostello
commented
May 14, 2026
Update for .NET 10.0.8.
Update formatting to cater for `ActivityTraceFlags.RandomTraceId`.
Fix sampling behaviour to be compatible with .NET 11.
This was referenced May 15, 2026
Fix new code analysis warnings.
Fix after merge with main.
4 tasks
Use pattern matching.
Update to preview 5 of .NET 11.
Fix new code analysis warnings from the .NET 11 preview 5 SDK.
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.
The intention is to keep this PR updated over the course of .NET 11's development as new previews are released.
Fixes #1730.
Changes
Add support for building and testing with .NET 11.
net11.0targetnet8.0andnet9.0targetsTODO
Merge requirement checklist
CHANGELOG.mdfiles updated for non-trivial changes