
binlog-generation
Generate MSBuild binary logs (binlogs) for build diagnostics and analysis
by dotnetFree
Description
binlog-generation is an agent skill from the dotnet/skills collection, listed on skills.sh. It tells an AI agent to add the /bl:{} switch to any MSBuild-based .NET command, so every run writes a binary log that can be analyzed later. The skill lists the commands that need it: dotnet build, dotnet test, dotnet pack, dotnet publish and dotnet restore, plus msbuild or msbuild.exe and any other command that invokes MSBuild. It treats the switch as a requirement for all .NET builds rather than an option. It recommends the {} placeholder, which gives each log an automatic unique name so that logs from separate runs do not overwrite each other. The placeholder needs MSBuild 17.8 or later, which comes with the .NET 8 SDK or newer. The skill is short and focused on that one habit. The listing shows it as free, and its source is public on GitHub.…
Highlights
- Adds /bl:{} to dotnet build, test, pack, publish and restore
- Automatic unique log names with the {} placeholder
- Needs MSBuild 17.8 or later, from the .NET 8 SDK
- Applies to any command that invokes MSBuild
Ratings & Reviews
No ratings yet
Be the first to rate binlog-generation.
People also visit

build-perf-diagnostics
Diagnose MSBuild build performance bottlenecks using binary log analysis

build-perf-baseline
Establish MSBuild/.NET build performance baselines before optimizing

eval-performance
Guide for diagnosing and improving MSBuild project evaluation performance
binlog-generation FAQ
What does the binlog-generation skill do?
It makes an AI agent run MSBuild-based .NET commands with the /bl switch, so each run writes a binary log for diagnosis.
How do I install it?
Run: npx skills add https://github.com/dotnet/skills --skill binlog-generation
Which commands need /bl?
dotnet build, test, pack, publish and restore, msbuild or msbuild.exe, and any other command that invokes MSBuild.
Why use {} in the file name?
The {} placeholder gives each binlog an automatic unique name, so logs from different runs do not overwrite each other.
Which MSBuild version does the placeholder need?
MSBuild 17.8 or later. The skill notes that this comes with the .NET 8 SDK or a newer one.
Is it free?
The listing shows it as free. The skill is published in a public GitHub repository.
What are the best binlog-generation alternatives?
Popular alternatives to binlog-generation include binlog-failure-analysis, build-perf-diagnostics and build-perf-baseline. See all binlog-generation alternatives




