Skip to content

Conversation

@martincostello
Copy link
Member

@martincostello martincostello commented Feb 26, 2025

A long-lived PR for testing .NET 10 until the stable release in November 2025. net10.0 is explicitly not being added as a new TFM for the packages we ship to NuGet.org.

Changes include:

  • Build with the .NET 10 SDK.
  • Add net10.0 to the test projects.
  • Use C# 14 features where relevant.
  • Use Cake.Sdk.

@martincostello martincostello added dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code labels Feb 26, 2025
@codecov
Copy link

codecov bot commented Feb 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.15%. Comparing base (41566d9) to head (7c7f66c).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2531   +/-   ##
=======================================
  Coverage   96.15%   96.15%           
=======================================
  Files         309      309           
  Lines        7123     7128    +5     
  Branches     1005     1005           
=======================================
+ Hits         6849     6854    +5     
  Misses        221      221           
  Partials       53       53           
Flag Coverage Δ
linux 96.15% <100.00%> (+<0.01%) ⬆️
macos 96.15% <100.00%> (+<0.01%) ⬆️
windows 96.14% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

martincostello added a commit that referenced this pull request Feb 27, 2025
Remove explicit reference to System.Text.Json as it should be redundant.

Identified by #2531.
martincostello added a commit that referenced this pull request Feb 27, 2025
Remove explicit reference to System.Text.Json as it should be redundant.

Identified by #2531.
martincostello added a commit that referenced this pull request May 16, 2025
Fix more IDE0055 warnings from #2531.
@martincostello martincostello force-pushed the dotnet-vnext branch 2 times, most recently from 2e22949 to e8b0126 Compare May 20, 2025 11:20
@martincostello martincostello force-pushed the dotnet-vnext branch 2 times, most recently from 847e149 to 20768ae Compare June 11, 2025 13:07
martincostello added a commit that referenced this pull request Jul 22, 2025
Cherry-pick changes from #2531 to sort package versions and add new references.
@martincostello martincostello mentioned this pull request Jul 22, 2025
martincostello added a commit that referenced this pull request Jul 22, 2025
Cherry-pick changes from #2531 to sort package versions and add new references.
@martincostello martincostello force-pushed the dotnet-vnext branch 2 times, most recently from 83c93f8 to f05acbd Compare July 24, 2025 14:10
@martincostello martincostello force-pushed the dotnet-vnext branch 3 times, most recently from 0d6763c to 0b3d12b Compare August 12, 2025 17:19
@martincostello martincostello added the keep-open Prevents an issue or pull request from being marked as stale label Aug 14, 2025
martincostello added a commit that referenced this pull request Oct 16, 2025
Refactor based on analyser warnings from #2531.
martincostello added a commit that referenced this pull request Oct 16, 2025
Refactor based on analyser warnings from #2531.
martincostello and others added 13 commits October 16, 2025 10:28
- Build with the .NET 10 SDK.
- Add `net10.0` to the test, docs and sample projects.
- Migrate from Cake .NET tool to Cake .NET SDK.

Co-Authored-By: Mattias Karlsson <[email protected]>
Update to preview 7 of .NET 10.
Update to the latest release of Cake.Sdk.
- Update to RC1 of the .NET 10 SDK.
- Fix new code analysis warnings.
Use `LangVersion=preview` to fix stryker compilation.
Doesn't actually fix stryker.
Update to the latest pre-release of v5.
Update to the latest prerelease.
Use `language-version:Preview` to fix mutation tests where the new `field` keyword is used.
Update .NET SDK to version 10.0.100-rc.2.25502.107.

---
updated-dependencies:
- dependency-name: Microsoft.NET.Sdk
  dependency-version: 10.0.100-rc.2.25502.107
  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 .NET 10 RC2.
- Disable strong naming.
- Fix nullability warnings.
- Fix analyzer warnings.
See if applying workaround for issue fixes them.
Update mutation tests to use .NET 10.
Update to latest beta version.
Fix build due to conflicting reference from Cake.Sdk.
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 keep-open Prevents an issue or pull request from being marked as stale .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants