
Migrate Dotnet8 To Dotnet9
作者 dotnet0608d8924cd3MIT5.5K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库今天更新
Migrate a .NET 8 project to .NET 9 and resolve all breaking changes. USE FOR: upgrading TargetFramework from net8.0 to net9.0, fixing build errors after updating the .NET 9 SDK, resolving behavioral changes in .NET 9 / C# 13 / ASP.NET Core 9 / EF Core 9, replacing BinaryFormatter (now always throws), resolving SYSLIB0054-SYSLIB0057, adapting to params span overload resolution, fixing C# 13 compiler changes, updating HttpClientFactory for SocketsHttpHandler, and resolving EF Core 9 migration/Cosmos DB changes. DO NOT USE FOR: .NET Framework migrations, upgrading from .NET 7 or earlier, greenfield .NET 9 projects, or cosmetic modernization unrelated to the upgrade.
添加到 SourceWeft 工作区
- 在控制台中打开该技能,并将它添加到工作区。
- 为需要使用它的对话启用该技能。
该技能仅含说明:不附带任何可执行的脚本。
添加到 SourceWeft系统会先要求你登录,然后直接带你回到这个技能。
让你的智能体来安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 或其他能运行命令的智能体中,也可以粘贴到 SourceWeft 对话里。智能体会阅读这个技能的安装说明,向你展示它的来源、许可证和脚本情况,在你同意后用 SourceWeft CLI 安装。
阅读 https://sourceweft.com/skills/gh-dotnet-skills-migrate-dotnet8-to-dotnet9/install.md 中的说明,按说明安装这个技能。安装前先告诉我它的来源、许可证以及是否附带脚本,等我确认。修改我电脑上的其他任何内容之前也要先问我。用命令行自行安装
适用于 Claude Code、Codex、Cursor 及其他本地智能体。SourceWeft CLI 会从源代码仓库中获取此处扫描过的那次提交,并根据扫描时记录的哈希值逐一校验每个文件。只要有任何不一致,就不会写入任何内容。
npx @sourceweft/cli skills install gh-dotnet-skills-migrate-dotnet8-to-dotnet9添加 --agent claude-code、codex、cursor 或 universal 来选择安装给哪个智能体(默认为 Claude Code)。
上游安装器——未经 SourceWeft 校验
开源的 skills 安装器会获取同一个固定的提交,但不会根据 SourceWeft 记录的哈希值校验文件。
npx skills add https://github.com/dotnet/skills/tree/0608d8924cd3173411e36650a7a01b4063e1f55a/plugins/dotnet-upgrade/skills/migrate-dotnet8-to-dotnet9来源与署名
来源:dotnet/skills位于plugins/dotnet-upgrade/skills/migrate-dotnet8-to-dotnet9提交0608d89
许可证: MIT
内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。
更多来自 dotnet/skills 的技能

Setup Local Sdk
dotnet
指导在 .dotnet/ 中安装项目本地 .NET SDK,并通过 global.json 的 paths 配置使其生效。

System Text Json Net11
dotnet
指导使用 .NET 11 新增的三个 System.Text.Json API:PascalCase 命名策略与泛型类型信息访问器。

Thread Abort Migration
dotnet
指导将 .NET Framework 的 Thread.Abort 用法迁移到现代 .NET 的协作式取消。

Migrate Dotnet9 To Dotnet10
dotnet
指导将 .NET 9 项目或解决方案迁移到 .NET 10,并解决破坏性变更。

Target Authoring
dotnet
编写自定义 MSBuild 目标的规范模式,涵盖依赖链、扩展与增量构建。

Resolve Project References
dotnet
说明 MSBuild 摘要中 ResolveProjectReferences 耗时为何具有误导性,并引导优化任务自身耗时。
更多Software Development技能

Playground
anthropics
构建自包含的交互式 HTML 演练场,包含控件、实时预览和可复制的提示词输出。

M5 Onboard
anthropics
通过 USB 检测 M5Stack ESP32 开发板,刷写 UIFlow 2.0 固件并安装 MicroPython 应用包。

Cardputer Buddy
anthropics
指导迭代 Cardputer-Adv 的 MicroPython 应用包:添加应用、通过 USB 串口推送文件、查看日志并运行 REPL 命令。

Web Design Guidelines
vercel-labs
依据从远程来源获取的 Web Interface Guidelines 审查 UI 代码,并以 file:line 形式报告问题。

Vercel React Native Skills
vercel-labs
React Native 与 Expo 最佳实践规则,涵盖列表性能、动画、导航、UI 模式、状态与 monorepo 配置。

Vercel React Best Practices
vercel-labs
Vercel 的 React 与 Next.js 性能指南,以 70 条规则的形式用于编写、审查和重构代码。