Fabrikam 控件升级规则
fabrikam-controls-rules
Fabrikam UI 控件在 .NET 版本升级期间适用的规则——哪些 Fabrikam.Windows.Forms 版本受现代 .NET 支持、哪些必须替换而非仅重定向目标框架,以及如何记录该决策。
- License 许可
- MIT
- 最近更新
- 2026-10-24
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- fabrikam-controls-rules
- metadata
- { "order": 100, "scope": [ "Assessment", "Planning", "IntegrityReview" ], "traits": ".NET|CSharp|VisualBasic", "discovery": "scenarioExtension", "extends-scenario": [ "dotnet-version-upgrade" ], "scopeInstructions": { "Planning": "scopes/planning.md", "Assessment": "scopes/assessment.md" } }
- description
- Fabrikam UI control rules that apply during a .NET version upgrade — which Fabrikam.Windows.Forms versions are supported on modern .NET, what must be replaced rather than retargeted, and how the decision is recorded.
02 资源文件 2
- 参考文档scopes/assessment.md1.5 KB
- 参考文档scopes/planning.md2.4 KB
03 SKILL.md 正文
Fabrikam UI controls during a .NET version upgrade
Fabrikam ships the Fabrikam.Windows.Forms control suite. We own its support
policy, and the platform's own compatibility data does not describe it — so a
.NET version upgrade must not decide anything about these packages without our
input.
The one rule that always holds: Fabrikam.Windows.Forms before 8.0 is not
supported on .NET 8 or later. Those references must be replaced with 8.x,
not retargeted. Do not infer a policy for a Fabrikam.* package that is not
named in our guidance — ask instead.
This body is what the IntegrityReview scope is served, because that scope is
declared in scope but deliberately left out of scopeInstructions. When
reviewing the resulting change, confirm that:
- no project targeting .NET 8+ still references
Fabrikam.Windows.Forms< 8.0; - every designer file touched by the bump was regenerated, not hand-edited;
- no
Fabrikam.Windows.Forms.Themesreference survives.
This skill is a scenario extension: it defines no workflow of its own and is
never user-selectable. It adds Fabrikam's rules to the scenario named in
extends-scenario, at the three points named in scope.
Two things to change when you copy this sample:
extends-scenario: [dotnet-version-upgrade]is a placeholder. Confirm the real scenario id in your environment — an id that matches nothing fails silently. If your guidance is cross-cutting, omit the field instead of guessing.order: 100only fixes presentation sequence when several extensions match (ascending; omitted sorts last). It does not arbitrate conflicts. 100 is just a round mid-range value.
traits (.NET|CSharp|VisualBasic) gates on the repository — a separate filter
from extends-scenario and scope. All three must pass for this content to be
served.
04 同仓库更多 Skills
Fabrikam 组件 v4 升级迁移
fabrikam-v4-upgrade
将 .NET 解决方案从 Fabrikam v3 组件套件迁移到 v4——应用包重命名(Fabrikam.Web.Mvc → Fabrikam.AspNetCore.Mvc、Fabrikam.Logging → Fabrikam.Diagnostics、Fabrikam.Security.Tokens → Fabrikam.Identity.Tokens),将 Fabrikam.Data 升级至 4.0,并弃用 Fabrikam.Json 改用 System.Text.Json。
Fabrikam 包依赖审计
fabrikam-package-audit
审计 .NET 项目中 Fabrikam 包引用是否已为 v4 做好准备——找出 v3 时代的 Fabrikam.* 包,标记出在 v4 中被重命名、升级版本或移除的包,并给出逐个包的升级计划。在审查 .csproj、Directory.Packages.props 或 packages.config 时使用。
Fabrikam 组件 v4 升级迁移
fabrikam-v4-upgrade
将 .NET 解决方案从 Fabrikam v3 组件套件迁移到 v4——执行包重命名(Fabrikam.Web.Mvc → Fabrikam.AspNetCore.Mvc、Fabrikam.Logging → Fabrikam.Diagnostics、Fabrikam.Security.Tokens → Fabrikam.Identity.Tokens),将 Fabrikam.Data 升级到 4.0,并弃用 Fabrikam.Json 改用 System.Text.Json。
Fabrikam 包 v4 升级审计
fabrikam-package-audit
审计 .NET 项目中 Fabrikam 包引用的 v4 就绪度——找出 v3 时代的 Fabrikam.* 包,标记出在 v4 中被重命名、提升版本或移除的包,并给出逐包的升级计划。适用于审查 .csproj、Directory.Packages.props 或 packages.config 时使用。
Fabrikam控件升级规则
fabrikam-controls-rules
在 .NET 版本升级期间适用的 Fabrikam UI 控件规则——哪些 Fabrikam.Windows.Forms 版本在现代 .NET 上受支持,哪些必须替换而非重新定向(retarget),以及如何记录该决策。