AGENT SKILL

Microsoft.Build.Locator 代码审查

code-review

针对 Microsoft.Build.Locator 代码审查的仓库专项检查。适用于加载器(loader)、发现机制(discovery)、公共 API 及包变更的审查。

License 许可
MIT
最近更新
2026-11-11
Stars
★ 265
Forks
91

01 前言 Front Matter

name
code-review
license
MIT
description
Repository-specific checks for Microsoft.Build.Locator code reviews. Use for loader, discovery, public API, and package changes.

02 资源文件 2

03 SKILL.md 正文

Microsoft.Build.Locator code review

Read AGENTS.md. For loader, registration, or discovery changes, also read the applicable msbuild-loader-netcore or msbuild-loader-netframework skill; read both for common code. Verify that the skills accurately describe the code, and require them to change when behavior changes.

Check these repository-specific invariants:

  • Common code must work on both net46 and net8.0; runtime-specific behavior must stay behind the correct conditional.
  • Registration must happen before any core Microsoft.Build* assembly loads.
  • .NET Framework discovers Visual Studio; .NET 8+ discovers the .NET SDK.
  • .NET Framework changes must remain compatible across supported Visual Studio versions; do not assume only the latest MSBuild layout or behavior.
  • Microsoft.Build.Locator.dll must retain minimal framework-only dependencies.
  • Intentional public API changes require compatibility suppressions and an appropriate version change.