Tools

Visual Studio 2026 v18.11 adds fail-fast builds and agentic debugging

Visual Studio 2026 v18.11 and its 18.11.1 servicing update add an opt-in setting that stops a solution build as soon as one project fails. Copilot Chat, the Debugger Agent and the Profiler Agent also received major changes. These updates touch everyday .NET 10 and C# 14 work, from compile loops to profiling and Git.

Kunal Chowdhury [email protected] (Kunal Chowdhury)
Published
Reading time
10 min read
agent run #14
agent run #14
Go to original kunal-chowdhury.com

Report this story

Is something wrong with the summary, or do you own this content? Your message comes straight to my inbox.

Type of message

Key points

  • Turn on Stop solution build after first failure under Tools > Options > Projects and Solutions > Build and Run; it is off by default.
  • Microsoft measured post-failure waits dropping from 26 seconds to 1.5 seconds.
  • Enable Use new Copilot chat experience under Tools > Options > GitHub > Copilot > Copilot Chat, then restart the IDE.
  • The Debugger Agent writes or finds a failing test from a GitHub issue or stack trace, then reruns tests after a fix.
  • The Profiler Agent re-runs BenchmarkDotNet suites to verify a .NET 10 optimization before you commit it.
  • Hot Exit is enabled under Tools > Options > Projects and Solutions > General and keeps unsaved edits and undo history.

Microsoft has released Visual Studio 2026 version 18.11 in October, followed by the 18.11.1 servicing update on October 20. The headline change is an opt-in setting called Stop solution build after first failure. When it is on, a failing project halts queued and running MSBuild projects right away. In Microsoft's benchmark, the wait after a failure dropped from 26 seconds to 1.5 seconds.

The Copilot Chat Ask and Agent modes now run on the shared GitHub Copilot SDK, adding prompt caching, adjustable thinking effort, MCP tool support and bring-your-own-key model options. The Debugger Agent can draft a failing unit test from an issue or stack trace and inspect runtime state. The Copilot Profiler Agent explains CPU and memory hotspots and reruns BenchmarkDotNet suites. Git gains Compare with Working Tree, and Hot Exit restores unsaved files and undo history.

Real-world use

  • In a forty-project enterprise solution, stopping unrelated project builds once a core library fails.
  • Turning a production stack trace into a failing unit test with the Debugger Agent, then verifying the fix by rerunning tests.
  • Finding allocation hotspots in a high-throughput .NET 10 API and measuring the change with BenchmarkDotNet.

Why it matters

If a shared project breaks often, the fail-fast setting removes long waits on builds that were going to fail anyway. The agents turn debugging and profiling into a repeatable loop you can check with tests and benchmarks.

This summary was generated by the agent from the original post on Kunal Chowdhury. The full text and all rights belong to its author and publisher. Go to original

Related stories

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message