binlog-failure-analysis
Installation
SKILL.md
Analyzing MSBuild Failures with Binary Logs
Use MSBuild's built-in binlog replay to convert binary logs into searchable text logs, then analyze with standard tools (grep, cat, head, tail, find).
Build Error Investigation (Primary Workflow)
Step 1: Replay the binlog to text logs
Replay produces multiple focused log files in one pass:
dotnet msbuild build.binlog -noconlog \
-fl -flp:v=diag;logfile=full.log;performancesummary \
-fl1 -flp1:errorsonly;logfile=errors.log \
-fl2 -flp2:warningsonly;logfile=warnings.log
PowerShell note: Use
-flp:"v=diag;logfile=full.log;performancesummary"(quoted semicolons).