[Infra] Support .NET 11#6899
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6899 +/- ##
==========================================
- Coverage 90.21% 90.20% -0.02%
==========================================
Files 290 290
Lines 15967 15982 +15
==========================================
+ Hits 14405 14416 +11
- Misses 1562 1566 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Update some references to .NET 8 to .NET 10 that were flushed out while working on open-telemetry#6899.
- 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.
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.
|
Commit that should fix all the warnings just pushed. Will make a version targeting |
Populate switch statement to fix new analyser warning.
Suppress IDE0066 as otherwise it makes the code hard to read.
Use pattern matching.
Add missing override for newly added package.
Restore removed blank line.
Fix new IDE0061 warnings.
Fix new code analysis warnings from merge with main.
Fix new code analysis warnings after merge with main.
Use compound assignment.
Cherry-pick change from open-telemetry#6899 to fix new code analysis warning in .NET 11.
Pull request dashboard statusStatus last refreshed: 2026-07-20 21:12:31 UTC.
This automated status or its linked feedback items may be incorrect. If something looks wrong, report it with the result you expected. |
The intention is to keep this PR updated over the course of .NET 11's development as new previews are released.
Changes
Add support for building and testing with .NET 11.
net11.0targetnet8.0andnet9.0targetsTODO
11.0-preview)Merge requirement checklist
CHANGELOG.mdfiles updated for non-trivial changes