{"id":36892,"date":"2026-09-14T06:38:16","date_gmt":"2026-09-14T06:38:16","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/cppblog\/?p=36892"},"modified":"2026-09-14T06:38:16","modified_gmt":"2026-09-14T06:38:16","slug":"whats-new-for-c-developers-in-visual-studio-2026-18-7-18-10","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cppblog\/whats-new-for-c-developers-in-visual-studio-2026-18-7-18-10\/","title":{"rendered":"What\u2019s New for C++ Developers in Visual Studio 2026 (18.7 \u2013 18.10)"},"content":{"rendered":"<p>Over the past few months, we have continued shipping monthly Visual Studio 2026 releases, delivering improvements across all stages of the development cycle. In this blog post, we&#8217;ll recap everything that changed from version 18.7 through 18.10 (released this month) that is relevant for C++ developers. This includes new tools for maintaining and navigating C++ projects, along with Git, GitHub Copilot, and debugging improvements that support the way large native codebases are built.<\/p>\n<p>Some headlines include the GitHub Copilot modernization experience (now generally available) to guide you through MSVC upgrades, a deeper semantic index to accelerate code navigation, discoverable MSVC Build Tools versions across installations, and support for Git worktrees and submodules directly in the IDE.<\/p>\n<p>For the previous set of updates, see <a href=\"https:\/\/devblogs.microsoft.com\/cppblog\/whats-new-for-c-developers-in-visual-studio-2026-18-1-18-6\/\">What&#8217;s New for C++ Developers in Visual Studio 2026 versions 18.1 through 18.6<\/a><em>.<\/em><\/p>\n<h2>C++ reliability improvements<\/h2>\n<p><strong>Across Visual Studio 2026 versions 18.7 through 18.10, we fixed 272 C++ bugs reported through Developer Community and internal testing.<\/strong><\/p>\n<p>These fixes include C++ IntelliSense diagnostics and include resolution, compiler and code-generation issues, a <code>std::regex regression<\/code>, debugger stability, and a C++ Solution Explorer context-menu issue.<\/p>\n<h2>Modernize and manage C++ projects<\/h2>\n<h3>Upgrade MSVC projects with GitHub Copilot<\/h3>\n<p><a href=\"https:\/\/learn.microsoft.com\/cpp\/porting\/github-copilot-modernization-cpp\/overview\">GitHub Copilot modernization for C++<\/a> is now generally available. This modernization agent helps upgrade MSBuild and CMake projects to a newer version of the Microsoft C++ (MSVC) Build Tools. It assesses the codebase, builds an upgrade plan, updates project settings and source code, and validates fixes for issues such as stricter conformance, deprecated standard library functions, new warnings, and linker errors.<\/p>\n<p>The agent has two flow modes. <strong>Automatic<\/strong> mode proceeds through assessment, planning, and execution with less intervention. <strong>Guided<\/strong> mode pauses between stages so you can review the scope and proposed approach before changes are applied. You can switch modes as the upgrade progresses.<\/p>\n<p>Before you start, use the Visual Studio Installer to select the <strong>GitHub Copilot modernization<\/strong> optional component. You also need a GitHub Copilot subscription and an MSBuild or CMake C++ project.<\/p>\n<p>Right-click a solution or project in <strong>Solution Explorer<\/strong> and select <strong>Modernize<\/strong> or enter @Modernize in GitHub Copilot Chat. For MSBuild projects that reference an unavailable MSVC version, the Setup Assistant can also offer to launch the modernization agent after retargeting the project. The agent focuses on issues caused by the MSVC upgrade and adapts its task list when one fix reveals another problem. You remain in control of the scope and can stop, redirect, or resume the work.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/06\/modernize-agent-landing-list-scenarios.webp\"><img decoding=\"async\" class=\"alignnone size-full wp-image-36586\" src=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/06\/modernize-agent-landing-list-scenarios.webp\" alt=\"modernize agent landing list scenarios png image\" width=\"1164\" height=\"1369\" srcset=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/06\/modernize-agent-landing-list-scenarios.webp 1164w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/06\/modernize-agent-landing-list-scenarios-255x300.webp 255w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/06\/modernize-agent-landing-list-scenarios-871x1024.webp 871w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/06\/modernize-agent-landing-list-scenarios-768x903.webp 768w\" sizes=\"(max-width: 1164px) 100vw, 1164px\" \/><\/a><\/p>\n<h3>Use PackageReference in native C++ projects<\/h3>\n<p>Visual Studio 2026 introduced experimental support for <strong>NuGet PackageReference in native .vcxproj projects<\/strong>. Package references live directly in the project file, support transitive dependency resolution, use NuGet&#8217;s global package cache, and can be conditioned by configuration or platform with normal MSBuild syntax.<\/p>\n<p>Enable the experience in a project or Directory.Build.props:<\/p>\n<pre class=\"prettyprint language-xml\"><code class=\"language-xml\">&lt;Project&gt; \r\n    &lt;PropertyGroup&gt; \r\n        &lt;EnableNativePackageReferenceSupport&gt;true&lt;\/EnableNativePackageReferenceSupport&gt; \r\n    &lt;\/PropertyGroup&gt; \r\n&lt;\/Project&gt;<\/code><\/pre>\n<p>You can then edit the project file directly or use <strong>Manage NuGet Packages<\/strong> in Visual Studio:<\/p>\n<pre class=\"prettyprint language-xml\"><code class=\"language-xml\">&lt;ItemGroup&gt;\r\n    &lt;PackageReference\r\n        Include=\"Microsoft.Windows.CppWinRT\"\r\n        Version=\"2.0.240405.15\" \/&gt;\r\n&lt;\/ItemGroup&gt;<\/code><\/pre>\n<p>We continue to recommend <a href=\"https:\/\/vcpkg.io\/\">vcpkg<\/a> for acquiring and managing C and C++ libraries. But NuGet PackageReference is useful for NuGet-distributed SDKs and binaries, internal NuGet feeds, and repositories that need a consistent distribution workflow across native C++ and .NET projects.<\/p>\n<p>The initial implementation is off by default and remains unsupported for C++\/CLI projects targeting .NET Framework versions and limited for some cross-language project references. Read <a href=\"https:\/\/devblogs.microsoft.com\/cppblog\/nuget-packagereference-for-c-projects-in-visual-studio\/\">NuGet PackageReference for C++ Projects in Visual Studio<\/a> for current limitations and workarounds.<\/p>\n<h3>Discover pinned MSVC Build Tools versions across installations<\/h3>\n<p>Visual Studio 2026 can now locate an exact pinned MSVC Build Tools version (major.minor.patch) in another Visual Studio or standalone Build Tools installation. This helps teams update the IDE independently while retaining a known-good compiler version for reproducible local and continuous integration builds.<\/p>\n<p>Previously, Visual Studio only searched other installations for a matching toolset if your current install had no toolset installed at all for your target platform toolset version. This change removes this restriction.<\/p>\n<p>Opt in with <code>EnableVCToolsVersionDiscovery<\/code>and specify the required <code>VCToolsVersion<\/code>:<\/p>\n<pre class=\"prettyprint language-xml\"><code class=\"language-xml\">&lt;PropertyGroup&gt;\r\n    &lt;EnableVCToolsVersionDiscovery&gt;true&lt;\/EnableVCToolsVersionDiscovery&gt;\r\n    &lt;VCToolsVersion&gt;14.43.34604&lt;\/VCToolsVersion&gt;\r\n&lt;\/PropertyGroup&gt;<\/code><\/pre>\n<p>When the requested version is not available in the current installation, Visual Studio searches other installations instead of requiring a manually assigned <code>VCToolsInstallDir<\/code>. This gives teams two complementary paths: use the modernization agent when it is time to upgrade or pin an exact MSVC Build Tools version when compatibility and repeatability are the priority. See the <a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/visual-studio-july-update-meet-the-new-agent-powered-by-copilot-sdk\/\">Visual Studio July update<\/a> post for more.<\/p>\n<h3>Preview the next MSVC Build Tools updates<\/h3>\n<p>Work on MSVC Build Tools version 14.52 continued with monthly updates to the preview builds shipping in the Visual Studio Stable Channel (and even faster updates in the Insiders Channel).<\/p>\n<p>In the July and August previews, frontend and modules updates include support for default-initialized <code>new[]<\/code> expressions in constant evaluation with modules, more robust argument-dependent lookup and module serialization, and clearer diagnostics for calling-convention mismatches, incompatible compiler options, and unusable compiled libraries.<\/p>\n<p>The backend added Armv9.2 LUTI2 support and improved ARM64 vectorization, load pairing, and instruction selection. x64 and x86 updates expanded APX instruction selection and improved conditional comparisons, vector constants, and tail calls. The optimizer gained additional loop, induction-variable, devirtualization, and expression-reassociation improvements. The linker and debugging tools also improved incremental linking, PDB growth and determinism, large debug-information streams, and module type merging.<\/p>\n<p>AddressSanitizer can now use the MSVC disassembler as a fallback instruction-length decoder, reducing unrecognized-instruction failures, and diagnoses incompatible use with <code>\/clr<\/code>. These previews also include Code Analysis reliability improvements and fixes for compiler crashes, miscompilations, module regressions, and invalid AVX-512 code generation.<\/p>\n<p>For the detailed change lists, see the <a href=\"https:\/\/devblogs.microsoft.com\/cppblog\/msvc-build-tools-preview-updates-july-2026\/\">July 2026<\/a> and <a href=\"https:\/\/devblogs.microsoft.com\/cppblog\/msvc-build-tools-preview-updates-august-2026\/\">August 2026<\/a> MSVC Build Tools preview posts. You should also look at the <a href=\"https:\/\/github.com\/microsoft\/STL\/wiki\/Changelog\">STL Changelog<\/a> for a full list of standard library improvements.<\/p>\n<h2>Navigate large C++ codebases faster<\/h2>\n<p>Whole Codebase Indexing is a preview feature that adds richer symbol-use information to the C++ browse database. Instead of repeatedly computing some relationships on demand, Visual Studio can reuse semantic data that has been indexed as you work.<\/p>\n<p>The deeper index improves features that use the IntelliSense engine, including semantic colorization, Go to Definition, and Find All References. It also gives Copilot&#8217;s <code>find_symbol<\/code> tool faster access to these code navigation features and enables CodeLens references for C++. In Microsoft&#8217;s testing with Bullet3 and LLVM, many navigation and colorization scenarios improved by 2x or more, although results and indexing costs vary with the codebase.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/07\/Timetocolorizationgraph.webp\"><img decoding=\"async\" class=\"alignnone size-full wp-image-36693\" src=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/07\/Timetocolorizationgraph.webp\" alt=\"Graph, 414ms with bullet3 down to 9ms. 1156ms down to 19ms with llvm\" width=\"799\" height=\"547\" srcset=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/07\/Timetocolorizationgraph.webp 799w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/07\/Timetocolorizationgraph-300x205.webp 300w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/07\/Timetocolorizationgraph-768x526.webp 768w\" sizes=\"(max-width: 799px) 100vw, 799px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/07\/findallreferenceswci.webp\"><img decoding=\"async\" class=\"size-full wp-image-36694\" src=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/07\/findallreferenceswci.webp\" alt=\"findallreferenceswci image\" width=\"847\" height=\"559\" srcset=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/07\/findallreferenceswci.webp 847w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/07\/findallreferenceswci-300x198.webp 300w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/07\/findallreferenceswci-768x507.webp 768w\" sizes=\"(max-width: 847px) 100vw, 847px\" \/><\/a><\/p>\n<p>To enable the feature, open <strong>Tools &gt; Options &gt; Languages &gt; C\/C++ &gt; IntelliSense &gt; Browsing &amp; navigation &gt; Whole codebase semantic index<\/strong>, then enable faster code navigation and colorization. Learn more in <a href=\"https:\/\/devblogs.microsoft.com\/cppblog\/rethinking-c-performance-faster-code-navigation-and-github-copilot-tools-with-whole-codebase-indexing\/\">Faster Code Navigation and GitHub Copilot Tools with Whole Codebase Indexing<\/a><em>.<\/em><\/p>\n<h2>Optimize the builds you run every day<\/h2>\n<p><a href=\"https:\/\/learn.microsoft.com\/cpp\/build-insights\/build-performance\">GitHub Copilot build performance for Windows<\/a> now evaluates iterative builds as well as clean builds. That distinction matters because an optimization such as a precompiled header can make a full rebuild slightly slower while improving the edit-build-debug loop that developers repeat throughout the day.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/05\/Screenshot-2026-05-06-114337.webp\"><img decoding=\"async\" class=\"alignnone size-full wp-image-36480\" src=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/05\/Screenshot-2026-05-06-114337.webp\" alt=\"A screenshot of the C++ Build Performance agent landing page in GitHub Copilot Chat\" width=\"699\" height=\"461\" srcset=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/05\/Screenshot-2026-05-06-114337.webp 699w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/05\/Screenshot-2026-05-06-114337-300x198.webp 300w\" sizes=\"(max-width: 699px) 100vw, 699px\" \/><\/a><\/p>\n<p>Ask Copilot Chat to \u201c<em>make my build faster<\/em>\u201d. The agent captures a baseline, proposes an optimization, measures the result, and rolls back changes that do not help. If a change is not beneficial in a clean build, the agent can test a comparable iterative build before deciding whether to keep it.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/07\/iter_5.webp\"><img decoding=\"async\" class=\"alignnone size-full wp-image-36741\" src=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/07\/iter_5.webp\" alt=\"step 5 of iterative build approval\" width=\"624\" height=\"137\" srcset=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/07\/iter_5.webp 624w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/07\/iter_5-300x66.webp 300w\" sizes=\"(max-width: 624px) 100vw, 624px\" \/><\/a><\/p>\n<h2>Review changes with GitHub Copilot<\/h2>\n<p>Copilot review now scales from a selected block of code to working changes, commits, and pull requests. Select any block of code in the editor and choose <strong>Copilot Actions &gt; Review Selection<\/strong> for a focused review. Findings appear as inline comments so you can inspect and address them in context.<\/p>\n<p><img decoding=\"async\" width=\"570\" height=\"321\" class=\"wp-image-36893\" src=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/09\/context-menu-showing-copilot-actions-with-review-s.webp\" alt=\"Context menu showing Copilot Actions with Review Selection highlighted\" srcset=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/09\/context-menu-showing-copilot-actions-with-review-s.webp 570w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/09\/context-menu-showing-copilot-actions-with-review-s-300x169.webp 300w\" sizes=\"(max-width: 570px) 100vw, 570px\" \/><\/p>\n<p>For a conversational review, switch to the Git agent in GitHub Copilot Chat. Ask it to review uncommitted work, select the Copilot review control in <strong>Git Changes<\/strong>, or attach a commit in chat. You can also start this review from the post-commit infobar or from a commit in the <strong>Git Repository<\/strong> window. Findings appear inline and in a navigable list, and you can continue the conversation to investigate a finding or request a suggested fix.<\/p>\n<p>Visual Studio also provides a local commit-review workflow. Enable <strong>Review Git changes locally and provide suggestions from comments<\/strong> under <strong>Tools &gt; Options &gt; GitHub &gt; Copilot &gt; Source Control Integration<\/strong>, then right-click a commit in the <strong>Git Repository<\/strong> window and select <strong>Review Commit<\/strong>. You can select two commits to review the range between them. These reviews remain local to the Visual Studio session. Both review workflows support GitHub and Azure DevOps repositories.<\/p>\n<p>Copilot review is another source of feedback, not a replacement for compiler diagnostics, Code Analysis, tests, or human review. It is most useful when you give it a clear scope, such as reviewing ownership changes, thread synchronization, error handling, or API usage before opening a pull request.<\/p>\n<p>The broader pull-request experience also lets you inspect changes without checking out the branch, comment and resolve threads, review commits, approve changes, and complete or merge the pull request from Visual Studio. For a walkthrough, see <a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/review-pull-requests-without-leaving-visual-studio\/\">Review Pull Requests Without Leaving Visual Studio<\/a><em>.<\/em><\/p>\n<h2>Work across large Git repositories<\/h2>\n<h3>Keep multiple branches active with worktrees<\/h3>\n<p>Visual Studio 2026 added integrated Git worktree management. A worktree gives another branch its own working directory, so you can keep some half-finished C++ changes intact while investigating a bug or preparing a fix on another branch.<\/p>\n<p>In the <strong>Git Repository<\/strong> window, right-click a branch and select <strong>New Worktree From<\/strong>.<\/p>\n<p><img decoding=\"async\" width=\"637\" height=\"123\" class=\"wp-image-36894\" src=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/09\/context-menu-on-a-branch-showing-new-worktree-from.webp\" alt=\"Context menu on a branch showing New Worktree From, Open Worktree in Current Window, Open Worktree in New Window, and Delete Worktree options\" srcset=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/09\/context-menu-on-a-branch-showing-new-worktree-from.webp 637w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/09\/context-menu-on-a-branch-showing-new-worktree-from-300x58.webp 300w\" sizes=\"(max-width: 637px) 100vw, 637px\" \/><\/p>\n<p>You can create a worktree from an existing branch, a new branch, or a commit, then open it in the current window or a separate Visual Studio instance. Worktrees appear alongside branches and can be removed from the same window when they are no longer needed.<\/p>\n<h2><strong><img decoding=\"async\" width=\"1200\" height=\"675\" class=\"wp-image-36895\" src=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/09\/the-image-displays-a-git-repository-dashboard-for.webp\" alt=\"The image displays a Git repository dashboard for the CalculatorApp, featuring a list of branches, tags, and various commits, including a fix for operator order and detached worktrees. AI-generated content may be incorrect.\" srcset=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/09\/the-image-displays-a-git-repository-dashboard-for.webp 1200w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/09\/the-image-displays-a-git-repository-dashboard-for-300x169.webp 300w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/09\/the-image-displays-a-git-repository-dashboard-for-1024x576.webp 1024w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/09\/the-image-displays-a-git-repository-dashboard-for-768x432.webp 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/strong><\/h2>\n<h3>Manage submodules without leaving Visual Studio<\/h3>\n<p>Submodules are also first-class objects in Visual Studio 2026. The <strong>Git Repository<\/strong> window has a dedicated <strong>Submodules<\/strong> section, <strong>Git Changes<\/strong> shows their state, and the repository picker displays the relationship between the parent repository and its submodules.<\/p>\n<p>You can add, update, remove, discover, and navigate submodules in the IDE. They are read-only by default, which helps prevent accidental edits to a dependency. To work inside them, go to <strong>Tools &gt; Options &gt; Source Control &gt; Git<\/strong>, find <strong>Automatically activate multiple repositories<\/strong>, and select <strong>Yes, include submodules<\/strong>.<\/p>\n<p><img decoding=\"async\" width=\"308\" height=\"287\" class=\"wp-image-36896\" src=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/09\/repository-picker-showing-parent-and-submodule-hie.webp\" alt=\"Repository picker showing parent and submodule hierarchy\" srcset=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/09\/repository-picker-showing-parent-and-submodule-hie.webp 308w, https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2026\/09\/repository-picker-showing-parent-and-submodule-hie-300x280.webp 300w\" sizes=\"(max-width: 308px) 100vw, 308px\" \/><\/p>\n<p>Other Git improvements include a multi-file summary diff for working changes, commits, and pull requests, comparison of a historical file version with the working tree, pull-request activity timelines, and automatic completion after required approvals and policies pass. Read the <a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/visual-studio-august-update-work-smarter-across-models-and-branches\/\">Visual Studio August update<\/a> for the full set.<\/p>\n<h2>Debug C++ applications<\/h2>\n<h3>Attach to processes in Podman containers<\/h3>\n<p>Visual Studio 2026 extends <strong>Attach to Process<\/strong> to Podman containers. Start the container, open <strong>Debug &gt; Attach to Process<\/strong>, choose <strong>Podman<\/strong> as the connection type, select <strong>Find<\/strong>, and then choose the process you want to debug. The experience supports both .NET and C++ containers without additional debugger configuration.<\/p>\n<h3>Investigate bugs with focused tests<\/h3>\n<p>The Debugger Agent has also added a test-driven investigation workflow. Starting from an issue, stack trace, or intermittent failure, it can create or identify a focused test, debug through the failure using runtime state, propose a fix, and rerun relevant tests. This builds on the agentic issue-to-resolution experience covered in the previous roundup. See <a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/the-visual-studio-debugger-agentic-workflow-gets-a-test-driven-upgrade\/\">The Visual Studio Debugger Agentic Workflow Gets a Test-Driven Upgrade<\/a> for details.<\/p>\n<h2>More control over Copilot<\/h2>\n<h3>Share instructions and custom agents across an organization<\/h3>\n<p>Visual Studio 2026 added organization-level instructions and custom agents. GitHub organization and enterprise owners can publish shared agents for workflows such as build triage, dependency upgrades, portability checks, or code-review conventions. Visual Studio detects those agents and identifies their organization source in the agent picker. Organization-level instructions can express shared preferences, but they are not a policy-enforcement mechanism. If you\u2019re an administrator, see <a href=\"https:\/\/docs.github.com\/en\/copilot\/how-tos\/administer-copilot\/manage-for-organization\/prepare-for-custom-agents\">Preparing to use custom agents in your organization<\/a> or<a href=\"https:\/\/docs.github.com\/en\/copilot\/how-tos\/administer-copilot\/manage-for-enterprise\/manage-agents\/prepare-for-custom-agents#enabling-and-protecting-custom-agents-in-your-enterprise\"> Preparing to use custom agents in your enterprise<\/a><em>.<\/em><\/p>\n<h3>Choose the right model and thinking effort<\/h3>\n<p>Model controls also provide more information about capabilities, context-window size, and cost. For supported models, you can choose low, medium, or high thinking effort. Lower effort suits straightforward questions, while higher effort can help with architecture, difficult template diagnostics, algorithms, or hard-to-reproduce concurrency issues.<\/p>\n<h3>Bring your own model<\/h3>\n<p><strong>Bring Your Own Model (BYOM)<\/strong> lets you connect that agent to a Microsoft Foundry deployment or use your own key with another supported provider, whether or not you are signed in to GitHub. The release notes also refer to this capability as <strong>Bring Your Own Key (BYOK)<\/strong>.<\/p>\n<p>BYOM is available as a preview and supports Microsoft Foundry, OpenAI, Anthropic, and Ollama, including custom endpoints for OpenAI and Ollama. Model capabilities vary, and not every model supports every Agent Mode tool. Read <a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/unlocking-the-power-of-ai-for-every-developer-in-visual-studio-with-bring-your-own-model\/\">Bring Your Own Model in Visual Studio<\/a> for setup, provider, and governance details.<\/p>\n<h3>Next Edit Suggestions Improvements<\/h3>\n<p><strong>Long-distance next edit suggestions<\/strong> are now available. Copilot can suggest related edits elsewhere in the active file when <strong>Extended range suggestions<\/strong> are enabled under <strong>Tools &gt; Options &gt; Text Editor &gt; Inline Suggestions<\/strong>.<\/p>\n<ul>\n<li><strong>Did you know?<\/strong> There is also a \u201cNext edit suggestions eagerness\u201d setting in Tools &gt; Options, giving you control over how frequently these suggestions appear. Use the search box in the Options UI to find it fast.<\/li>\n<\/ul>\n<h2>Try Visual Studio 2026 and share your feedback<\/h2>\n<p><a href=\"https:\/\/visualstudio.microsoft.com\/downloads\/\">Download Visual Studio 2026<\/a> to try these new features and benefit from the latest bug fixes and performance improvements. Also check out the <a href=\"https:\/\/learn.microsoft.com\/visualstudio\/releases\/2026\/release-notes\">release notes<\/a> for a full list of everything that\u2019s new.<\/p>\n<p>Want to get ahead? Get a sneak peek at Visual Studio 2026 version 18.11 improvements now via <a href=\"https:\/\/visualstudio.microsoft.com\/insiders\/\">the Insiders Channel<\/a>.<\/p>\n<p>We want to hear how these changes work in real C++ projects. Report problems or suggest improvements through <strong>Help &gt; Send Feedback<\/strong> in Visual Studio and visit <a href=\"https:\/\/developercommunity.visualstudio.com\/\">Developer Community<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Over the past few months, we have continued shipping monthly Visual Studio 2026 releases, delivering improvements across all stages of the development cycle. In this blog post, we&#8217;ll recap everything that changed from version 18.7 through 18.10 (released this month) that is relevant for C++ developers. This includes new tools for maintaining and navigating C++ [&hellip;]<\/p>\n","protected":false},"author":1063,"featured_media":35743,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3948,1,3940,3949,3963,3958],"tags":[185,3957],"class_list":["post-36892","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-build-optimization","category-cplusplus","category-copilot","category-copilot-2","category-msvc","category-visual-studio","tag-visual-studio","tag-visual-studio-2026"],"acf":[],"blog_post_summary":"<p>Over the past few months, we have continued shipping monthly Visual Studio 2026 releases, delivering improvements across all stages of the development cycle. In this blog post, we&#8217;ll recap everything that changed from version 18.7 through 18.10 (released this month) that is relevant for C++ developers. This includes new tools for maintaining and navigating C++ [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/36892","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/users\/1063"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/comments?post=36892"}],"version-history":[{"count":1,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/36892\/revisions"}],"predecessor-version":[{"id":36902,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/36892\/revisions\/36902"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media\/35743"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media?parent=36892"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/categories?post=36892"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/tags?post=36892"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}