Skip to content

chore: 提升TFM兼容性并新增VSCode配置迁移脚本#1154

Merged
joesdu merged 4 commits intomainfrom
dev
Mar 13, 2026
Merged

chore: 提升TFM兼容性并新增VSCode配置迁移脚本#1154
joesdu merged 4 commits intomainfrom
dev

Conversation

@joesdu
Copy link
Owner

@joesdu joesdu commented Mar 13, 2026

📝 描述 (Description)

本次提交主要内容如下:

  • EasilyNET.Core.Benchmark.csproj 仅支持 net11.0。
  • EasilyNET.Test.Unit.csproj 支持 net10.0 与 net11.0 多目标框架。
  • 新增 sync-vscode-insiders-to-cursor.ps1 脚本,实现 VSCode Insiders 到 Cursor 的用户配置与扩展同步,支持 WhatIf 预览及详细日志。
  • 提升测试与基准项目的 .NET 版本兼容性,增强开发环境迁移便利性。

🔗 相关问题 (Related Issues)

  • Closes #
  • Fixes #

🏷️ 变更类型 (Type of Change)

  • 🐛 错误修复 (Bug fix) (non-breaking change which fixes an issue)
  • ✨ 新功能 (New feature) (non-breaking change which adds functionality)
  • 💥 破坏性变更 (Breaking change) (fix or feature that would cause existing functionality to not work as expected)
  • 📚 文档更新 (Documentation update)
  • 🔧 重构 (Refactor) (no functional changes)
  • 🧪 测试 (Tests) (adding or updating tests)
  • 🛠️ 构建/CI 变更 (Build/CI changes)
  • 🎨 样式变更 (Style changes) (formatting, etc.)
  • 🚀 性能改进 (Performance improvements)
  • 🔒 安全改进 (Security improvements)

✅ 检查清单 (Checklist)

  • 我的代码遵循项目的编码标准 (My code follows the project's coding standards)
  • 我已经对自己的代码进行了自我审查 (I have performed a self-review of my own code)
  • 我已经在难以理解的区域注释了我的代码 (I have commented my code, particularly in hard-to-understand areas)
  • 我已经对文档进行了相应的更改 (I have made corresponding changes to the documentation)
  • 我的更改不会产生新的警告或错误 (My changes generate no new warnings or errors)
  • 我已经添加了证明我的修复有效或我的功能工作的测试 (I have added tests that prove my fix is effective or that my feature works)
  • 新增和现有的单元测试在本地通过我的更改 (New and existing unit tests pass locally with my changes)
  • 任何依赖变更都已合并并发布到下游模块 (Any dependent changes have been merged and published in downstream modules)

🧪 测试 (Testing)

  • 单元测试 (Unit tests)
  • 集成测试 (Integration tests)
  • 手动测试 (Manual testing)
  • 其他 (请指定) (Other (please specify)):

📸 截图 (如果适用) (Screenshots (if applicable))

🔍 附加说明 (Additional Notes)

本次提交主要内容如下:

- EasilyNET.Core.Benchmark.csproj 仅支持 net11.0。
- EasilyNET.Test.Unit.csproj 支持 net10.0 与 net11.0 多目标框架。
- 新增 sync-vscode-insiders-to-cursor.ps1 脚本,实现 VSCode Insiders 到 Cursor 的用户配置与扩展同步,支持 WhatIf 预览及详细日志。
- 提升测试与基准项目的 .NET 版本兼容性,增强开发环境迁移便利性。
Copilot AI review requested due to automatic review settings March 13, 2026 01:58
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes the entire EasilyNET.Core.Benchmark benchmark project (and its solution reference), removes the outdated test/AGENTS.md, updates AGENTS.md to reflect the removal, strips a BOM from the test project file, and adds a new PowerShell script for syncing VS Code Insiders settings/extensions to Cursor.

Changes:

  • Removed the EasilyNET.Core.Benchmark project and all its files, including the solution reference.
  • Removed test/AGENTS.md (which contained incorrect testing framework info) and updated root AGENTS.md.
  • Added sync-vscode-insiders-to-cursor.ps1 for developer environment migration.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
EasilyNET.slnx Removed benchmark project reference from solution
AGENTS.md Updated to remove "benchmarks" from test directory description
test/AGENTS.md Deleted (contained outdated/incorrect info)
test/EasilyNET.Core.Benchmark/* All benchmark files deleted
test/EasilyNET.Test.Unit/EasilyNET.Test.Unit.csproj Removed BOM character from first line
sync-vscode-insiders-to-cursor.ps1 New script for syncing VS Code Insiders config to Cursor

You can also share your feedback on Copilot code review. Take the survey.

joesdu added 3 commits March 13, 2026 10:05
本次提交将 sync-vscode-insiders-to-cursor.ps1 脚本内容全部清空,文件现为空。此操作通常用于废弃或重构相关功能,后续如需恢复请参考历史版本。
移除了 Directory.Packages.props 中 Microsoft.SourceLink.GitHub 的版本声明,不再通过中央包管理引用该包,其余依赖保持不变。此变更有助于简化依赖管理,避免不必要的 SourceLink 配置。
@joesdu joesdu merged commit 9e12f4f into main Mar 13, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants