MSBuild Binlog Analyzer for VS CodeAnalyze MSBuild binary logs (
Features
Quick StartFrom Structured Log Viewer (recommended)
Standalone
Prerequisites
UsageCopilot Chat (
|
| Command | Description |
|---|---|
| Binlog: Load File | Open a binlog (replaces current session) |
| Binlog: Add File | Add more binlogs to the current session |
| Binlog: Remove File | Remove a binlog from the session |
| Binlog: Manage Loaded Binlogs | View/add/remove loaded binlogs |
| Binlog: Set Workspace Folder | Point VS Code at the right source code |
| Binlog: Fix All Build Issues | Fix all warnings/errors with Copilot |
| Binlog: Show Errors | Focus the Problems panel |
| Binlog: Scan for Secrets | Detect leaked credentials |
| Binlog: Redact Secrets | Create a redacted copy of a binlog |
Status Bar
Shows the number of loaded binlogs. Click to manage.
How It Works
┌─────────────────────────┐ ┌──────────────────────┐ ┌─────────────────────┐
│ Structured Log Viewer │────▶│ VS Code Extension │────▶│ baronfel.binlog.mcp│
│ (WPF) │ │ (this extension) │ │ (MCP Server) │
│ │ │ │ │ │
│ • Opens binlog │ │ • Configures MCP │ │ • Parses binlog │
│ • Detects workspace │ │ • @binlog chat │ │ • Provides tools │
│ • Writes settings.json │ │ • Sidebar tree view │ │ • Copilot accesses │
│ • Launches VS Code │ │ • Auto-installs tool│ │ via MCP protocol │
└─────────────────────────┘ └──────────────────────┘ └─────────────────────┘
Configuration
| Setting | Default | Description |
|---|---|---|
binlogAnalyzer.mcpServerPath |
"" |
Custom path to the MCP server executable |
binlogAnalyzer.autoLoad |
true |
Auto-load binlog diagnostics on activation |
binlogAnalyzer.diagnosticsSeverityFilter |
"Warning" |
Min severity for Problems panel |
Telemetry
This extension collects anonymized usage data to help improve the experience.
It respects VS Code's telemetry settings (telemetry.telemetryLevel).
No source code, file paths, or build content is collected.
Development
# Install dependencies
npm install
# Compile
npm run compile
# Run tests
npm test
# Watch mode
npm run watch
# Package VSIX
npx vsce package --no-dependencies --allow-missing-repository
Related Projects
- MSBuild Structured Log Viewer — WPF viewer for binlog files
- baronfel.binlog.mcp — MCP server for binlog analysis
- MSBuild Binary Log — Microsoft docs