Skip to content

Update to .NET 11#2821

Draft
costellobot wants to merge 13 commits into
mainfrom
dotnet-vnext
Draft

Update to .NET 11#2821
costellobot wants to merge 13 commits into
mainfrom
dotnet-vnext

Conversation

@costellobot

@costellobot costellobot commented Feb 12, 2026

Copy link
Copy Markdown
Collaborator

Summary 🚀

Update to .NET 11.

Changes 📝

  • Update .NET SDK to 11.0.100
  • Update container base images
  • Update target framework to net11.0
  • Update NuGet package versions for .NET 11.0
  • Fix IDE0028 warnings
  • Fix IDE0031 warnings
  • Fix IDE0370 warnings
  • Fix IDE0390 warnings
  • Fix IDE0391 warnings

Further Reading 📖

🤖 This pull request was generated by GitHub Actions using .NET Bumper.

@costellobot costellobot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file enhancement labels Feb 12, 2026
Comment thread src/AdventOfCode/Puzzles/Y2021/Day18.cs Fixed
Comment thread src/AdventOfCode/Puzzles/Y2021/Day18.cs Fixed
@codecov

codecov Bot commented Feb 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.55%. Comparing base (d1f2aae) to head (4b1900e).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2821   +/-   ##
=======================================
  Coverage   58.55%   58.55%           
=======================================
  Files         127      127           
  Lines        3204     3204           
  Branches      482      466   -16     
=======================================
  Hits         1876     1876           
  Misses       1328     1328           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

martincostello added a commit that referenced this pull request Feb 12, 2026
Cherry-pick code analyzer fixes/suggestions from #2821.
martincostello added a commit that referenced this pull request Feb 12, 2026
Cherry-pick code analyzer fixes/suggestions from #2821.
@martincostello

Copy link
Copy Markdown
Owner

@costellobot rebase

@martincostello martincostello force-pushed the dotnet-vnext branch 2 times, most recently from 22b6c11 to adbb4ce Compare March 12, 2026 19:35
@martincostello martincostello force-pushed the dotnet-vnext branch 3 times, most recently from 9cf8c2e to 691b5e3 Compare April 7, 2026 09:40
@martincostello martincostello force-pushed the dotnet-vnext branch 3 times, most recently from d33412a to e1d9a36 Compare April 14, 2026 20:29
@martincostello martincostello force-pushed the dotnet-vnext branch 3 times, most recently from a931018 to 489ae57 Compare April 22, 2026 16:11
@martincostello

Copy link
Copy Markdown
Owner

@costellobot rebase

@martincostello martincostello force-pushed the dotnet-vnext branch 3 times, most recently from dc6216b to fe184c3 Compare April 28, 2026 16:24
@martincostello martincostello force-pushed the dotnet-vnext branch 2 times, most recently from c351134 to 36f28e4 Compare May 12, 2026 19:32
Comment thread Directory.Packages.props Outdated
@martincostello martincostello force-pushed the dotnet-vnext branch 2 times, most recently from 6694d71 to 42b4bd9 Compare May 21, 2026 19:22
@martincostello martincostello force-pushed the dotnet-vnext branch 3 times, most recently from 66fefff to 2f7486a Compare June 2, 2026 07:03
@martincostello

Copy link
Copy Markdown
Owner

@costellobot rebase

Comment thread Directory.Packages.props Outdated
Comment thread global.json Outdated
@martincostello martincostello force-pushed the dotnet-vnext branch 2 times, most recently from 226f505 to b09c429 Compare June 10, 2026 15:40
costellobot and others added 10 commits June 10, 2026 18:05
Update to .NET 11 with .NET SDK version 11.0.100-preview.1.26104.118.

Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com>
Fix build by using `LangVersion=preview` to support use of Collection Expression Arguments.
Update leftover references to `net10.0`.
* Update .NET SDK

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: costellobot <102549341+costellobot@users.noreply.github.com>

* Bump .NET NuGet packages

Bumps .NET dependencies to their latest versions for the .NET 11.0.100-preview.2.26159.112 SDK.

Bumps Microsoft.AspNetCore.Mvc.Testing from 11.0.0-preview.1.26104.118 to 11.0.0-preview.2.26159.112.
Bumps Microsoft.AspNetCore.OpenApi from 11.0.0-preview.1.26104.118 to 11.0.0-preview.2.26159.112.
Bumps Microsoft.Extensions.Caching.Memory from 11.0.0-preview.1.26104.118 to 11.0.0-preview.2.26159.112.

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Mvc.Testing
  dependency-version: 11.0.0-preview.2.26159.112
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.AspNetCore.OpenApi
  dependency-version: 11.0.0-preview.2.26159.112
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Extensions.Caching.Memory
  dependency-version: 11.0.0-preview.2.26159.112
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com>

* Fix build

- Update Microsoft.OpenApi.
- Use overloads that accept a `StringComparison`.
- Suppress false positive for `CA1517`.

* Apply suggestions from code review

Add reference to issue.

---------

Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com>
Co-authored-by: martincostello <martin@martincostello.com>
Fix benchmarks by using latest CI build of BenchmarkDotNet.
* Update .NET SDK

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: costellobot <102549341+costellobot@users.noreply.github.com>

* Bump .NET NuGet packages

Bumps .NET dependencies to their latest versions for the .NET 11.0.100-preview.3.26207.106 SDK.

Bumps Microsoft.AspNetCore.Mvc.Testing from 11.0.0-preview.2.26159.112 to 11.0.0-preview.3.26207.106.
Bumps Microsoft.AspNetCore.OpenApi from 11.0.0-preview.2.26159.112 to 11.0.0-preview.3.26207.106.
Bumps Microsoft.Extensions.Caching.Memory from 11.0.0-preview.2.26159.112 to 11.0.0-preview.3.26207.106.

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Mvc.Testing
  dependency-version: 11.0.0-preview.3.26207.106
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.AspNetCore.OpenApi
  dependency-version: 11.0.0-preview.3.26207.106
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Extensions.Caching.Memory
  dependency-version: 11.0.0-preview.3.26207.106
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com>

---------

Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com>
* Update .NET SDK

Update .NET SDK to version 11.0.100-preview.4.26230.115.

---
updated-dependencies:
- dependency-name: Microsoft.NET.Sdk
  dependency-version: 11.0.100-preview.4.26230.115
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com>

* Bump .NET NuGet packages

Bumps .NET dependencies to their latest versions for the .NET 11.0.100-preview.4.26230.115 SDK.

Bumps Microsoft.AspNetCore.Mvc.Testing from 11.0.0-preview.3.26207.106 to 11.0.0-preview.4.26230.115.
Bumps Microsoft.AspNetCore.OpenApi from 11.0.0-preview.3.26207.106 to 11.0.0-preview.4.26230.115.
Bumps Microsoft.Extensions.Caching.Memory from 11.0.0-preview.3.26207.106 to 11.0.0-preview.4.26230.115.

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Mvc.Testing
  dependency-version: 11.0.0-preview.4.26230.115
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.AspNetCore.OpenApi
  dependency-version: 11.0.0-preview.4.26230.115
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Extensions.Caching.Memory
  dependency-version: 11.0.0-preview.4.26230.115
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com>

* Update BenchmarkDotNet

Update to a version that is still available.

---------

Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com>
Co-authored-by: Martin Costello <martin@martincostello.com>
Update BenchmarkDotNet.
Remove `rollForward` to workaround actions/setup-dotnet issue and use a version of BenchmarkDotNet that exists.
* Update .NET SDK

Update .NET SDK to version 11.0.100-preview.5.26302.115.

---
updated-dependencies:
- dependency-name: Microsoft.NET.Sdk
  dependency-version: 11.0.100-preview.5.26302.115
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com>

* Bump .NET NuGet packages

Bumps .NET dependencies to their latest versions for the .NET 11.0.100-preview.5.26302.115 SDK.

Bumps Microsoft.AspNetCore.Mvc.Testing from 11.0.0-preview.4.26230.115 to 11.0.0-preview.5.26302.115.
Bumps Microsoft.AspNetCore.OpenApi from 11.0.0-preview.4.26230.115 to 11.0.0-preview.5.26302.115.
Bumps Microsoft.Extensions.Caching.Memory from 11.0.0-preview.4.26230.115 to 11.0.0-preview.5.26302.115.

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Mvc.Testing
  dependency-version: 11.0.0-preview.5.26302.115
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.AspNetCore.OpenApi
  dependency-version: 11.0.0-preview.5.26302.115
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Extensions.Caching.Memory
  dependency-version: 11.0.0-preview.5.26302.115
  dependency-type: direct:production
  update-type: version-update:semver-major
...


Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com>

---------

Signed-off-by: costellobot <102549341+costellobot@users.noreply.github.com>
Comment thread Directory.Packages.props Outdated
Update Microsoft.OpenApi 3.7.0.
Enable use of runtime async.
Comment thread Directory.Build.props Outdated
Do not overwrite `Features`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants