Visual Studio 2026 versions 18.1–18.6 bring a broad set of improvements for C++ developers. MSVC Build Tools v14.51 is now generally available with C++23 conformance improvements and runtime performance gains. A new Sample Profile Guided Optimization (SPGO) feature uses hardware performance counter sampling from release binaries to achieve 5–15% runtime performance improvements without instrumentation overhead. On the AI side, GitHub Copilot gains major enhancements: a Debugger Agent that validates bugs against live runtime behavior, a Profiler Agent with C++ unit test support, context-aware refactoring across multiple files, build performance analysis via @BuildPerfCpp, and a new Planning mode for complex refactoring tasks. Copilot Chat now supports custom agents, Agent Skills via SKILL.md files, MCP server integration, cloud agent sessions, and multi-file diff summaries. Segment Heap support is now enabled by default for new C++ projects, improving memory management. Additional productivity features include fast scrolling, middle-click scroll, HTML rich copy/paste, and git commit context for Copilot Chat.

10m read timeFrom devblogs.microsoft.com
Post cover image
Table of contents
Bug fixes Copy linkProductivity power-ups Copy linkMicrosoft C++ (MSVC) Build Tools v14.51 Copy linkSample Profile Guided Optimization Copy linkEasily upgrade and modernize your C++ projects Copy linkOptimize your builds Copy linkContext-aware refactoring at scale Copy linkA more sophisticated AI chat experience Copy linkDebugging and diagnosing code issues Copy linkBetter memory management with Segment Heap Copy linkAttach your git commits as context for Copilot Copy linkTry Out Visual Studio 2026 Copy link
6 Impressions