remove net6.0 and add net10.0 #374
Draft
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.
This pull request updates the project to target .NET 10.0 across all main components, including CI workflows and project files. It also refines package references for compatibility and removes obsolete code that was previously required for older .NET versions.
.NET version upgrade:
EasyNetQ.Management.Client.csproj,EasyNetQ.Management.Client.Tests.csproj,EasyNetQ.Management.Client.IntegrationTests.csproj,EasyNetQ.Management.Client.ApprovalTests.csproj) to target.NET 10.0instead of.NET 8.0, ensuring the codebase uses the latest .NET features and APIs. [1] [2] [3] [4].github/workflows/ci.yml) to use.NET SDK 10.xand set the test matrix to run againstnet10.0. [1] [2] [3] [4] [5]Package reference improvements:
System.Text.Jsonpackage reference inEasyNetQ.Management.Client.Tests.csprojto only be included fornet48, preventing unnecessary inclusion for newer .NET versions.Code cleanup for compatibility:
JsonNumberEnumConverterimplementation for older .NET versions, as it is no longer needed with the upgrade to .NET 10.0.