agentleFS
MovGP0MovGP0/Skills/msbuild-warnings/SKILL.md

msbuild-warnings

Skill1 starsChanged 4 months agoMITView on GitHub

MSBuild warning meanings and examples

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the build reports enabled MSB* diagnostics.

    line 8

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

MSBuild warnings

Use this skill when the build reports enabled MSB* diagnostics.

MSBuild diagnostics (MSB)

MSB3245 - Could not resolve assembly reference

What it flags: MSBuild reported a build configuration, reference, import, or resource issue.

Example:

  • Bad: project references an assembly path/name MSBuild cannot resolve.
  • Fix: fix the reference, package, hint path, or target framework.

MSB3270 - Processor architecture mismatch

What it flags: MSBuild reported a build configuration, reference, import, or resource issue.

Example:

  • Bad: AnyCPU project references x86-only or x64-only assemblies.
  • Fix: align platform targets or references.

MSB3277 - Found conflicts between different versions of an assembly

What it flags: MSBuild reported a build configuration, reference, import, or resource issue.

Example:

  • Bad: different projects require different versions of the same assembly.
  • Fix: align package versions or binding redirects.

MSB3568 - Duplicate item or resource name in build input

What it flags: MSBuild reported a build configuration, reference, import, or resource issue.

Example:

  • Bad: duplicate resource or generated item names collide.
  • Fix: give items unique logical names or remove duplicates.

MSB3884 - Rule set file not found or invalid

What it flags: MSBuild reported a build configuration, reference, import, or resource issue.

Example:

  • Bad: project references a missing ruleset file.
  • Fix: restore the ruleset path or remove/update the property.

MSB4011 - Project import was ignored because it was already imported

What it flags: MSBuild reported a build configuration, reference, import, or resource issue.

Example:

  • Bad: the same props/targets file is imported twice.
  • Fix: remove the duplicate import or guard it.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.