Conversation
本次提交移除了所有 .NET 8.0 和 9.0 的兼容配置与依赖,仅保留 .NET 10.0 和 11.0。包括 CI/CD 配置、项目 TargetFrameworks 属性、相关包引用等同步调整,精简了依赖并提升了项目的版本要求。
Contributor
There was a problem hiding this comment.
Pull request overview
This PR removes support for .NET 8.0 and 9.0, retaining only .NET 10.0 and 11.0 as target frameworks. This is a breaking change that simplifies the project's multi-targeting strategy and eliminates the need for backport packages like Backport.System.Threading.Lock which provided .NET 9.0+ features to .NET 8.0.
Changes:
- Updated centralized target frameworks from
net8.0;net9.0;net10.0;net11.0tonet10.0;net11.0 - Removed .NET 8.0 and 9.0 from CI/CD workflows (build_test.yml and releaser.yml)
- Removed conditional package references to
Backport.System.Threading.Lockfor .NET 8.0
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/Directory.Build.props | Updated centralized TargetFrameworks to net10.0;net11.0 only |
| src/Directory.Packages.props | Removed Backport.System.Threading.Lock package version entry for net8.0 |
| src/EasilyNET.Core/EasilyNET.Core.csproj | Removed conditional ItemGroup referencing Backport.System.Threading.Lock for net8.0 |
| test/EasilyNET.Test.Unit/EasilyNET.Test.Unit.csproj | Updated test project TargetFrameworks and removed SuppressTfmSupportBuildWarnings |
| .github/workflows/releaser.yml | Removed .NET 8.0.x and 9.0.x from dotnet-version matrix |
| .github/workflows/build_test.yml | Removed .NET 8.0.x and 9.0.x from dotnet-version matrix |
本次更新精简了 README.md 关于 .NET SDK 的描述,去除了 net8.0、net9.0、net10.0 多目标框架的具体说明,仅强调需使用最新 SDK(含预览特性)。英文说明同步调整。
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.
📝 描述 (Description)
本次提交移除了所有 .NET 8.0 和 9.0 的兼容配置与依赖,仅保留 .NET 10.0 和 11.0。包括 CI/CD 配置、项目 TargetFrameworks 属性、相关包引用等同步调整,精简了依赖并提升了项目的版本要求。
🔗 相关问题 (Related Issues)
🏷️ 变更类型 (Type of Change)
✅ 检查清单 (Checklist)
🧪 测试 (Testing)
📸 截图 (如果适用) (Screenshots (if applicable))
🔍 附加说明 (Additional Notes)