authoring-errors-and-warnings

Installation
SKILL.md

Error and Warning Authoring in MSBuild

Error messages are MSBuild's primary user interface. They must help developers fix problems without reading source code.

For the mechanics of error code assignment, see assigning-msb-error-code.md.

Error Message Quality Rules

Every error message must answer three questions:

  1. What happened? — State the problem clearly
  2. Why? — Provide context (file, property, expected value)
  3. What should the user do? — Give actionable guidance
<!-- BAD: What is "it"? What should I do? -->
<value>MSB4999: Invalid configuration.</value>
Related skills

More from dotnet/msbuild

Installs
2
Repository
dotnet/msbuild
GitHub Stars
5.5K
First Seen
Mar 20, 2026