Generate MSBuild binary logs (binlogs) for build diagnostics and analysis. Only activate in MSBuild/.NET build context. USE FOR: adding /bl:{} to any dotnet…
Generate Binary Logs
Pass the /bl switch when running any MSBuild-based command. This is a non-negotiable requirement for all .NET builds.
Commands That Require /bl
You MUST add the /bl:{} flag to:
dotnet build
dotnet test
dotnet pack
dotnet publish
dotnet restore
msbuild or msbuild.exe
Any other command that invokes MSBuild
Preferred: Use {} for Automatic Unique Names
Note: The {} placeholder requires MSBuild 17.8+ / .NET 8 SDK or later.don't have the plugin yet? install it then click "run inline in claude" again.
by @dotnet