target-authoring

github:dotnet/skills · first committed 2026-05-22 · source · badge

Canonical patterns for writing custom MSBuild targets. Only activate in MSBuild/.NET build context. USE FOR: diagnosing and fixing custom target authoring anti-patterns, reviewing MSBuild target definitions for correctness, diagnosing broken SDK target chains across files (e.g., Directory.Build.targets silently redefining SDK targets), fixing targets that replace CompileDependsOn instead of extend

Skill Health: not yet scored

Listed, not yet scored. This skill has no public model test yet. It is in the scoring queue; submitted skills go first, then the most-installed.

Version history

3 commits to this file on GitHub (newest first).

2026-07-16 · commit 9c7436b · Add copy-to-output-directory MSBuild skill (IfDifferent / SkipUnchangedFilesOnCopyAlways) (#883)
2026-06-24 · commit 67e2a47 · Trim dotnet-msbuild skill-menu under 15K char limit (#809)
2026-05-22 · commit 5f11701 · Add MSBuild target authoring skills (target-authoring, property-patterns, item-management, extension-points) (#669)

Archived snapshots