Update to .NET 11 SDK#2931
Draft
martincostello wants to merge 25 commits into
Draft
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #2931 +/- ##
=======================================
Coverage 96.16% 96.16%
=======================================
Files 311 311
Lines 7139 7139
Branches 1006 1006
=======================================
Hits 6865 6865
Misses 221 221
Partials 53 53
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
dc4af9a to
20a61c6
Compare
- Build with the .NET 11 preview 1 SDK. - Test with `net11.0`. - Drop testing with `net8.0` and `net9.0`. - Fix new code analysis warnings.
20a61c6 to
01ccd49
Compare
Update .NET SDK to version 11.0.100-preview.2.26159.112. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-version: 11.0.100-preview.2.26159.112 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: polly-updater-bot[bot] <138034000+polly-updater-bot[bot]@users.noreply.github.com> Co-authored-by: polly-updater-bot[bot] <138034000+polly-updater-bot[bot]@users.noreply.github.com>
martincostello
commented
Mar 10, 2026
martincostello
commented
Mar 10, 2026
martincostello
commented
Mar 10, 2026
martincostello
commented
Mar 10, 2026
Update NuGet packages for .NET 11 preview 2.
martincostello
commented
Mar 11, 2026
Member
Author
There was a problem hiding this comment.
Update target-framework to net11.0 when Stryker supports it.
martincostello
commented
Mar 11, 2026
Stryker errors for any unknown properties.
Member
Author
|
Failure on Linux is dotnet/runtime#125435. |
Work around issue with newer versions of Clang.
martincostello
commented
Mar 12, 2026
Update .NET SDK to version 11.0.100-preview.3.26207.106. --- updated-dependencies: - dependency-name: Microsoft.NET.Sdk dependency-version: 11.0.100-preview.3.26207.106 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: polly-updater-bot[bot] <138034000+polly-updater-bot[bot]@users.noreply.github.com> Co-authored-by: polly-updater-bot[bot] <138034000+polly-updater-bot[bot]@users.noreply.github.com>
- Update NuGet packages for preview 3. - Fix CS8629 warnings from `Nullable<T>.Value` usage.
martincostello
commented
Apr 14, 2026
Remove workaround for Linux issue that should be fixed in .NET 11 preview 3.
martincostello
added a commit
that referenced
this pull request
Apr 14, 2026
Cherry-pick fix from #2931 for new compiler warning when accessing `Nullable<T>.Value`.
martincostello
added a commit
that referenced
this pull request
Apr 14, 2026
Cherry-pick fix from #2931 for new compiler warning when accessing `Nullable<T>.Value`.
Update to preview 4 of .NET 11.
Update to preview 5 of .NET 11.
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.
Update to build and test with .NET 11.
net11.0is explicitly not being added as a new TFM for the packages we ship to NuGet.org.Changes include:
net11.0to the test projects.net8.0andnet9.0from the test projects.