<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Msbuild | The .NET Blog</title><link>https://thedotnetblog.com/tags/msbuild/</link><description>Articles, tutorials and insights from the .NET community.</description><generator>Hugo</generator><language>en</language><managingEditor>@thedotnetblog (The .NET Blog)</managingEditor><webMaster>@thedotnetblog</webMaster><lastBuildDate>Sat, 18 Jul 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://thedotnetblog.com/tags/msbuild/index.xml" rel="self" type="application/rss+xml"/><item><title>MCP Build Diagnostics in CI Is the First AI Workflow That Actually Pays for Itself Fast</title><link>https://thedotnetblog.com/news/emiliano-montesdeoca/mcp-binlog-ci-build-diagnostics/</link><pubDate>Sat, 18 Jul 2026 00:00:00 +0000</pubDate><author>Emiliano Montesdeoca</author><guid>https://thedotnetblog.com/news/emiliano-montesdeoca/mcp-binlog-ci-build-diagnostics/</guid><description>When Binlog MCP analysis runs directly in pull request workflows, teams reduce failure triage time and unblock developers faster.</description><content:encoded>&lt;p&gt;Original source: &lt;a href="https://devblogs.microsoft.com/dotnet/mcp-build-diagnostics-workflows/"&gt;MCP Beyond the Chat Window: Build Diagnostics in CI&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is one of the strongest practical MCP stories so far because it leaves the chat demo world and enters pipeline reality.&lt;/p&gt;
&lt;p&gt;The pattern shown is compelling: failed PR build triggers agent analysis against binlog via MCP, then the workflow posts actionable root-cause context back to the pull request. That is exactly where developer time is usually wasted today.&lt;/p&gt;
&lt;p&gt;Most teams still handle red builds with expensive manual loops:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Download binlog.&lt;/li&gt;
&lt;li&gt;Open viewer.&lt;/li&gt;
&lt;li&gt;Trace failing target and task.&lt;/li&gt;
&lt;li&gt;Translate findings for reviewers.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;MCP-based binlog tooling compresses that loop and makes analysis available to every contributor, not just the build specialist on call.&lt;/p&gt;
&lt;p&gt;The advisory-only stance in the workflow is also a smart architectural choice. Keep merge gating with your existing required builds, and use agent diagnostics as acceleration rather than authority. This preserves trust while still capturing productivity gains.&lt;/p&gt;
&lt;p&gt;The expanded tool surface is notable. Target reasoning, evaluation properties, analyzer cost breakdowns, critical path graphs, restore analysis, and incremental behavior inspection are exactly the kind of structured diagnostics that language models handle well when exposed through precise tools.&lt;/p&gt;
&lt;p&gt;My opinionated take: &lt;strong&gt;this is where AI in engineering actually becomes infrastructure&lt;/strong&gt;. If a capability reliably reduces mean time to explain build failures without adding risky autonomy, it belongs in CI by default.&lt;/p&gt;
&lt;p&gt;The evaluation data strengthens the case. Better scores with materially lower wall time and token usage compared with no-tools baselines indicate the productivity gains are not anecdotal.&lt;/p&gt;
&lt;p&gt;Practical rollout plan for .NET teams:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Make /bl generation standard&lt;/strong&gt; in CI for relevant build and test jobs.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Introduce MCP diagnostic comments&lt;/strong&gt; in one non-critical repository first.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Track triage-time metrics&lt;/strong&gt; and false-positive explanation rate.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Expand only after proving&lt;/strong&gt; comment quality and developer acceptance.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;One caution: treat tool capabilities as versioned contracts. Server surfaces evolve, and workflow reliability depends on explicit compatibility checks. Capability discovery tooling should be part of your pipeline setup.&lt;/p&gt;
&lt;p&gt;If your organization has been searching for a high-confidence AI adoption point in software delivery, this is it. It is bounded, measurable, and directly tied to developer cycle time.&lt;/p&gt;
&lt;p&gt;MCP here is not a novelty layer. &lt;strong&gt;It is a transport for structured operational intelligence&lt;/strong&gt;, and build pipelines are an ideal place to exploit it.&lt;/p&gt;</content:encoded></item><item><title>The Binlog MCP Server Might Be the Most Practical AI Debugging Tool for .NET Right Now</title><link>https://thedotnetblog.com/news/emiliano-montesdeoca/msbuild-binlog-mcp-server-ai-build-debugging/</link><pubDate>Wed, 17 Jun 2026 00:00:00 +0000</pubDate><author>Emiliano Montesdeoca</author><guid>https://thedotnetblog.com/news/emiliano-montesdeoca/msbuild-binlog-mcp-server-ai-build-debugging/</guid><description>The new Microsoft Binlog MCP Server gives AI assistants direct access to MSBuild binary logs. For .NET developers, that could turn build investigation from manual archaeology into a much faster conversational workflow.</description><content:encoded>&lt;p&gt;If you have ever opened a large &lt;code&gt;.binlog&lt;/code&gt; file trying to understand why a complicated .NET build failed, you already know the pain.&lt;/p&gt;
&lt;p&gt;The data is there. Too much of it, actually.&lt;/p&gt;
&lt;p&gt;That is why the new &lt;strong&gt;Microsoft Binlog MCP Server&lt;/strong&gt; immediately stood out to me. It takes one of the most information-rich but least friendly debugging artifacts in the .NET world and makes it accessible through an AI assistant.&lt;/p&gt;
&lt;p&gt;And unlike some AI tooling announcements, this one feels extremely practical.&lt;/p&gt;
&lt;h2 id="this-is-not-about-replacing-the-binlog"&gt;This is not about replacing the binlog&lt;/h2&gt;
&lt;p&gt;The point is not that developers should stop understanding MSBuild.&lt;/p&gt;
&lt;p&gt;The point is that asking natural questions over a binlog is often a much better first move than manually spelunking through every property, task, target, and import chain.&lt;/p&gt;
&lt;p&gt;The server exposes tools for:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;errors and warnings&lt;/li&gt;
&lt;li&gt;property tracing&lt;/li&gt;
&lt;li&gt;item and import inspection&lt;/li&gt;
&lt;li&gt;performance analysis&lt;/li&gt;
&lt;li&gt;build comparisons&lt;/li&gt;
&lt;li&gt;embedded file search&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;That is a very strong toolbox for something developers already produce today with &lt;code&gt;dotnet build /bl&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id="why-this-is-such-a-good-mcp-use-case"&gt;Why this is such a good MCP use case&lt;/h2&gt;
&lt;p&gt;Some MCP examples still feel a bit forced.&lt;/p&gt;
&lt;p&gt;This one does not.&lt;/p&gt;
&lt;p&gt;MSBuild logs are structured, detailed, and usually too dense for a human-first interface. That makes them perfect for an AI assistant that can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;query specific slices of the data&lt;/li&gt;
&lt;li&gt;connect related clues together&lt;/li&gt;
&lt;li&gt;explain the likely root cause&lt;/li&gt;
&lt;li&gt;guide you toward an actionable fix&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;That is exactly the kind of task where AI can reduce friction without pretending to magically solve everything.&lt;/p&gt;
&lt;h2 id="the-developer-workflow-improvement-is-obvious"&gt;The developer workflow improvement is obvious&lt;/h2&gt;
&lt;p&gt;The best part is how easy it is to imagine this fitting into normal development:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;capture a binlog&lt;/li&gt;
&lt;li&gt;point your assistant at it&lt;/li&gt;
&lt;li&gt;ask what failed, what changed, or what is slow&lt;/li&gt;
&lt;li&gt;follow up conversationally instead of manually restarting the investigation from zero&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;That is a better loop.&lt;/p&gt;
&lt;p&gt;And because the tooling is grounded in the actual build log rather than vague guesses, it has a much better shot at being trustworthy.&lt;/p&gt;
&lt;h2 id="my-take"&gt;My take&lt;/h2&gt;
&lt;p&gt;This feels like one of the clearest examples yet of where MCP-based tooling can genuinely improve the .NET development experience.&lt;/p&gt;
&lt;p&gt;Not because it is flashy.&lt;/p&gt;
&lt;p&gt;Because it meets a real pain point with a very concrete workflow improvement.&lt;/p&gt;
&lt;p&gt;If you work with large solutions, flaky CI builds, property resolution issues, or performance-sensitive build pipelines, this is exactly the kind of tool I would want within reach.&lt;/p&gt;
&lt;p&gt;Original post: &lt;a href="https://devblogs.microsoft.com/dotnet/msbuild-binlog-mcp-server/"&gt;AI-Powered MSBuild Investigation with the Microsoft Binlog MCP Server&lt;/a&gt;&lt;/p&gt;</content:encoded></item></channel></rss>