{"id":46749678,"url":"https://github.com/dotutils/vscode-binlog-analyzer","last_synced_at":"2026-04-28T12:01:25.328Z","repository":{"id":341780000,"uuid":"1170931864","full_name":"dotutils/vscode-binlog-analyzer","owner":"dotutils","description":"VS Code extension for MSBuild binlog analysis with Copilot Chat and MCP tools","archived":false,"fork":false,"pushed_at":"2026-04-27T15:07:49.000Z","size":1083,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-27T15:09:39.860Z","etag":null,"topics":["binlog","build-analysis","copilot","dotnet","mcp","msbuild","vscode-extension"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dotutils.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-02T17:27:02.000Z","updated_at":"2026-04-27T15:04:17.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dotutils/vscode-binlog-analyzer","commit_stats":null,"previous_names":["dotutils/vscode-binlog-analyzer"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/dotutils/vscode-binlog-analyzer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotutils%2Fvscode-binlog-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotutils%2Fvscode-binlog-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotutils%2Fvscode-binlog-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotutils%2Fvscode-binlog-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotutils","download_url":"https://codeload.github.com/dotutils/vscode-binlog-analyzer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotutils%2Fvscode-binlog-analyzer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32379629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T11:25:28.583Z","status":"ssl_error","status_checked_at":"2026-04-28T11:25:05.435Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["binlog","build-analysis","copilot","dotnet","mcp","msbuild","vscode-extension"],"created_at":"2026-03-09T20:30:47.075Z","updated_at":"2026-04-28T12:01:25.323Z","avatar_url":"https://github.com/dotutils.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MSBuild Binlog Analyzer for VS Code\n\n[![VS Marketplace](https://img.shields.io/visual-studio-marketplace/v/dotutils.binlog-analyzer?label=VS%20Marketplace\u0026color=blue)](https://marketplace.visualstudio.com/items?itemName=dotutils.binlog-analyzer)\n[![Installs](https://img.shields.io/visual-studio-marketplace/i/dotutils.binlog-analyzer)](https://marketplace.visualstudio.com/items?itemName=dotutils.binlog-analyzer)\n\nAnalyze MSBuild binary logs (`.binlog`) with **GitHub Copilot Chat** and **MCP tools** — right from VS Code.\n\n\u003e **Preview** — This extension is under active development. Feedback welcome!\n\n## Quick Start\n\n1. Install this extension (requires **VS Code 1.99+** with **GitHub Copilot** and **.NET SDK**)\n2. Open a `.binlog` — via **Binlog: Load File** (`Ctrl+Shift+P`), **Build \u0026 Collect Binlog**, or from [Structured Log Viewer](https://github.com/KirillOsenkov/MSBuildStructuredLog) → **Open in VS Code**\n3. Use `@binlog` in Copilot Chat:\n\n```\n@binlog why did the build fail?\n@binlog what are the slowest targets?\n@binlog /perf\n```\n\nThe [BinlogInsights.Mcp](https://www.nuget.org/packages/BinlogInsights.Mcp) server (28 analysis tools) is auto-installed on first use.\n\n## What You Get\n\n| Feature | Description |\n|---------|-------------|\n| **@binlog Chat** | Ask Copilot about errors, performance, targets, imports, NuGet issues — with slash commands like `/errors`, `/perf`, `/timeline`, `/compare`, `/summary`, `/incremental`, `/buildcheck`, `/search`, `/targets`, `/properties`, `/items`, `/propertyhistory` |\n| **Build \u0026 Collect** | Build a project and capture a `.binlog` in one step |\n| **Binlog Explorer** | Sidebar tree with project → target → task hierarchy, errors, warnings, performance |\n| **Build Timeline** | Visual bar charts of target/task durations with click-to-analyze in Copilot |\n| **Fix All Issues** | Copilot fixes all build errors/warnings, rebuilds, and loads before/after for comparison |\n| **Auto-fix Diagnostic** | Right-click any error/warning in the tree → \"Auto-fix with Copilot\" to fix it directly |\n| **Optimize Build** | Pick optimizations, Copilot applies changes, verify with A/B comparison |\n| **Build Analysis Mode** | Chat mode pre-configured with BinlogInsights MCP tools — works with any agent |\n| **Language Model Tools** | `binlog_lm_overview`, `binlog_lm_errors`, `binlog_lm_search`, `binlog_lm_perf`, `binlog_lm_compare` — available to @workspace, agent mode, and custom chat modes |\n| **CI/CD Integration** | Download binlogs from Azure DevOps Pipelines and GitHub Actions — filter by branch or PR |\n| **Problems Panel** | Build diagnostics as native VS Code errors/warnings with per-project CodeLens and \"Ask @binlog\" CodeActions |\n| **Search** | Search across all build events — targets, tasks, messages, properties |\n\n## Configuration\n\n| Setting | Default | Description |\n|---------|---------|-------------|\n| `binlogAnalyzer.mcpServerPath` | `\"\"` | Custom path to the MCP server executable |\n| `binlogAnalyzer.mcpServerArgs` | `\"--binlog ${binlog}\"` | Argument template for the MCP server. `${binlog}` is replaced with each binlog path |\n| `binlogAnalyzer.autoLoad` | `true` | Auto-load binlog diagnostics on activation |\n| `binlogAnalyzer.diagnosticsSeverityFilter` | `\"Warning\"` | Min severity for Problems panel |\n| `binlogAnalyzer.inlineDecorations` | `true` | Show build errors as inline decorations in source files |\n| `binlogAnalyzer.chat.includeAllTools` | `false` | Expose all available tools (file editing, terminal, other MCPs) to the `@binlog` chat participant |\n| `binlogAnalyzer.chat.additionalToolPatterns` | `[]` | Additional tool name patterns to include alongside binlog tools (e.g. `[\"copilot_codebase\", \"terminal\"]`) |\n\n## Troubleshooting: MCP Server Installation\n\nThe extension auto-installs [BinlogInsights.Mcp](https://www.nuget.org/packages/BinlogInsights.Mcp) via `dotnet tool install -g`. In corporate environments with restricted NuGet feeds, this may fail. Here are the workarounds:\n\n### 1. Install with explicit NuGet source\n\n```bash\ndotnet tool install -g BinlogInsights.Mcp --add-source https://api.nuget.org/v3/index.json\n```\n\n### 2. Manual download fallback\n\nIf all `dotnet tool install` attempts fail (e.g., nuget.org is blocked):\n\n1. Download the `.nupkg` directly from [nuget.org](https://www.nuget.org/packages/BinlogInsights.Mcp)\n2. Install from the local file:\n\n```bash\n# Download (replace {version} with latest, e.g. 0.2.0)\nInvoke-WebRequest -Uri \"https://www.nuget.org/api/v2/package/BinlogInsights.Mcp/{version}\" -OutFile \"BinlogInsights.Mcp.nupkg\"\n\n# Install from local file\ndotnet tool install -g BinlogInsights.Mcp --add-source .\n```\n\n### 3. Diagnose NuGet issues\n\n```bash\ndotnet nuget list source\n```\n\nCommon problems:\n- **nuget.org not listed or disabled** — the tool is published on nuget.org\n- **Authenticated feed requires credentials** — may block fallthrough to nuget.org\n- **Package source mapping** excludes nuget.org for this package\n\n### 4. Verify installation\n\n```bash\ndotnet tool list -g | Select-String BinlogInsights\nbinlog-insights-mcp --help\n```\n\n\u003e For the full troubleshooting guide, see [BinlogInsights repo setup instructions](https://github.com/SergeyTeplyakov/BinlogInsights/blob/main/samples/repo-setup/.github/skills/build-tool-setup/SKILL.md).\n\n## Related Projects\n\n- [MSBuild Structured Log Viewer](https://github.com/KirillOsenkov/MSBuildStructuredLog) — WPF viewer with secrets redaction\n- [BinlogInsights](https://github.com/SergeyTeplyakov/BinlogInsights) — CLI + MCP server for binlog analysis\n- [MSBuild Binary Log docs](https://learn.microsoft.com/en-us/visualstudio/msbuild/obtaining-build-logs-with-msbuild#save-a-binary-log)\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotutils%2Fvscode-binlog-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotutils%2Fvscode-binlog-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotutils%2Fvscode-binlog-analyzer/lists"}