C++ Team Blog

The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team

Latest posts

May 27, 2026
Post comments count 1
Post likes count 1

What’s New for C++ Developers in Visual Studio 2026 (18.1 – 18.6)

Augustin Popa

Visual Studio 2026 versions 18.1 through 18.6 deliver a wave of improvements for C++ developers. For MSVC Build Tools, the v14.51 release is now generally available with runtime performance gains and improved C++23 conformance. We also introduced Sample Profile Guided Optimization to help you improve the runtime performance of your C/C++ programs. In the IDE, we made significant investments in AI-powered experiences to optimize your builds, modernize your code, debug and profile, and more. We enhanced Copilot Chat to make it easy to incorporate skills, custom agents, and MCP servers into your workflow. We also ad...

May 19, 2026
Post comments count 6
Post likes count 1

Introducing Sample Profile Guided Optimization in MSVC

David Gillies

Profile Guided Optimization (PGO) has long been one of the most powerful tools in the MSVC compiler's arsenal for improving the runtime performance of C and C++ applications. By using execution profile data collected from representative workloads, PGO enables the compiler to make smarter decisions about inlining, code layout, and hot/cold code separation - decisions that are impossible to make from static analysis alone. In practice, PGO can deliver large performance improvements for C/C++ code. Today, we're introducing Sample Profile Guided Optimization (SPGO), a new approach to profile-guided optimization th...

May 19, 2026
Post comments count 6
Post likes count 3

NuGet PackageReference for C++ Projects in Visual Studio

Augustin Popa

Native C++ projects (.vcxproj) now support NuGet PackageReference, the same modern package management experience .NET developers have used for years. Available as an experimental feature in Visual Studio 2026 version 18.7.

May 14, 2026
Post comments count 2
Post likes count 2

Segment Heap support for C++ projects in Visual Studio

MacGyver Codilla

Learn how Visual Studio enables Segment Heap by default for new C++ projects and how to adopt and verify it in existing builds.

May 13, 2026
Post comments count 2
Post likes count 5

MSVC Build Tools Preview updates – May 2026

Eric Brumer

Try the latest updates to MSVC Build Tools Preview

May 12, 2026
Post comments count 0
Post likes count 5

MSVC Build Tools version 14.51 (GA) now available

Michael Price

MSVC Build Tools v14.51 GA available in Visual Studio 2026 18.6

May 7, 2026
Post comments count 0
Post likes count 0

Project-Specific Build Optimizations with GitHub Copilot

David Li

We are excited to announce that GitHub Copilot build performance for Windows now supports project-specific builds! Available in the latest Visual Studio Insiders, you can target a single MSBuild project or CMake target instead of analyzing your entire solution. For game developers and teams working with large codebases, this eliminates the need to wait for a full-solution build when you only want to optimize one project. Since launching GitHub Copilot build performance for Windows in Public Preview, we have received a lot of feedback from game studios working on large engines and enterprise monorepos. Rebuildi...

May 7, 2026
Post comments count 0
Post likes count 0

What’s New in vcpkg (Apr 2026)

Augustin Popa

These updates include improved locking for parallel builds, cross-platform PE dependency analysis, manifest support for the depend-info command, and other improvements and bug fixes.

May 4, 2026
Post comments count 1
Post likes count 1

Giving Copilot more C++ context using custom instructions in VS Code

Sinem Akinci

In February, we announced how GitHub Copilot can now use C++ symbol context and CMake build configuration awareness to deliver smarter suggestions in Visual Studio Code. Today, we're excited to share new ways to further enhance your C++ development experience with Copilot and get the most out of the language-driven suggestions, by leveraging custom instructions designed specifically for C++ language tools.  Enabling Custom Instructions You can access these custom instructions in the awesome-copilot repo, a community-driven collection of instructions, prompts, and configurations to help users get the most out of...