Updates target frameworks to .NET 8 and 9#905
Merged
edumserrano merged 9 commits intomainfrom May 25, 2025
Merged
Conversation
Removes the global.json file, which is no longer needed.
Updates the target frameworks for all projects to .NET 8 and .NET 9. This ensures that the libraries and tests are compatible with the latest .NET releases.
Updates the solution file to the newer .slnx format, which is a simplified XML-based format. This change also updates the project's tooling, CI workflows, and documentation to use the new .slnx solution file.
Updates the markdown link check configuration to consider 429 status codes as acceptable. This prevents false positives when GitHub's API rate limiting is triggered during the link checking process.
This reverts commit 9aa9304.
Removes the `.UseSolutionRelativeContentRoot` configuration from the `HttpResponseMockingWebApplicationFactory` as it is no longer needed and simplifies the content root configuration.
Test runs on ubuntu-latest for commit 475fb85✔️ Pass - DotNet.Sdk.Extensions.Testing.Tests.dll on .NETCoreApp,Version=v8.0---- ## Run Summary Overall Result: ✔️ Pass Run Duration: 1s 921ms GitHub Runner OS: ubuntu-latest Operating System: Ubuntu 24.04.2 LTS Framework: .NETCoreApp,Version=v8.0 Assembly: DotNet.Sdk.Extensions.Testing.Tests.dll
Informational✔️ Pass - DotNet.Sdk.Extensions.Tests.dll on .NETCoreApp,Version=v8.0---- ## Run Summary Overall Result: ✔️ Pass Run Duration: 9s 679ms GitHub Runner OS: ubuntu-latest Operating System: Ubuntu 24.04.2 LTS Framework: .NETCoreApp,Version=v8.0 Assembly: DotNet.Sdk.Extensions.Tests.dll
Informational✔️ Pass - DotNet.Sdk.Extensions.Testing.Tests.dll on .NETCoreApp,Version=v9.0---- ## Run Summary Overall Result: ✔️ Pass Run Duration: 1s 752ms GitHub Runner OS: ubuntu-latest Operating System: Ubuntu 24.04.2 LTS Framework: .NETCoreApp,Version=v9.0 Assembly: DotNet.Sdk.Extensions.Testing.Tests.dll
Informational✔️ Pass - DotNet.Sdk.Extensions.Tests.dll on .NETCoreApp,Version=v9.0---- ## Run Summary Overall Result: ✔️ Pass Run Duration: 10s 946ms GitHub Runner OS: ubuntu-latest Operating System: Ubuntu 24.04.2 LTS Framework: .NETCoreApp,Version=v9.0 Assembly: DotNet.Sdk.Extensions.Tests.dll
Informational |
Test runs on windows-latest for commit 475fb85✔️ Pass - DotNet.Sdk.Extensions.Testing.Tests.dll on .NETCoreApp,Version=v8.0---- ## Run Summary Overall Result: ✔️ Pass Run Duration: 2s 9ms GitHub Runner OS: windows-latest Operating System: Microsoft Windows 10.0.20348 Framework: .NETCoreApp,Version=v8.0 Assembly: DotNet.Sdk.Extensions.Testing.Tests.dll
Informational✔️ Pass - DotNet.Sdk.Extensions.Tests.dll on .NETCoreApp,Version=v8.0---- ## Run Summary Overall Result: ✔️ Pass Run Duration: 9s 909ms GitHub Runner OS: windows-latest Operating System: Microsoft Windows 10.0.20348 Framework: .NETCoreApp,Version=v8.0 Assembly: DotNet.Sdk.Extensions.Tests.dll
Informational✔️ Pass - DotNet.Sdk.Extensions.Testing.Tests.dll on .NETCoreApp,Version=v9.0---- ## Run Summary Overall Result: ✔️ Pass Run Duration: 1s 894ms GitHub Runner OS: windows-latest Operating System: Microsoft Windows 10.0.20348 Framework: .NETCoreApp,Version=v9.0 Assembly: DotNet.Sdk.Extensions.Testing.Tests.dll
Informational✔️ Pass - DotNet.Sdk.Extensions.Tests.dll on .NETCoreApp,Version=v9.0---- ## Run Summary Overall Result: ✔️ Pass Run Duration: 9s 712ms GitHub Runner OS: windows-latest Operating System: Microsoft Windows 10.0.20348 Framework: .NETCoreApp,Version=v9.0 Assembly: DotNet.Sdk.Extensions.Tests.dll
Informational |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #905 +/- ##
=======================================
Coverage 94.66% 94.66%
=======================================
Files 76 76
Lines 1293 1293
Branches 107 107
=======================================
Hits 1224 1224
Misses 43 43
Partials 26 26 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Migrates to central package management for dependency versioning. This change introduces a `Directory.Packages.props` file to manage package versions centrally, and removes version numbers from `Directory.Build.props` and project files. This ensures consistency across the solution and simplifies dependency updates. Also updates the documentation links to point to the correct tag.
Updates multiple NuGet package versions to their latest stable releases. This ensures that the project benefits from the latest features, bug fixes, and performance improvements provided by these libraries. The updated packages include analyzer and testing libraries.
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.
Shouldly. Didn't update all so that I can test if dependabot will create a PR to updateShouldly.NOTE: Did not convert the solution file to the .slnx format because it causes a breaking change in how I'm using the WebApplicationFactory and causes tests to fail. This needs to be investigated and fixed before adopting the new .slnx format.