C++ Team Blog

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

Latest posts

vcpkg is Now Included with Visual Studio
May 18, 2023
Post comments count 7
Post likes count 4

vcpkg is Now Included with Visual Studio

Augustin Popa
Augustin Popa

As of Visual Studio 2022 version 17.6, the vcpkg C/C++ package manager is included as an installable component for the C++ Desktop and C++ Gaming workloads. You can also find it in the installer by searching for vcpkg package manager under the Individual components tab.   Using the Visual Studio Copy of vcpkg After you install or update Visual Studio with the vcpkg component checked, the package manager will be installed in your Visual Studio installation directory. You can run vcpkg commands directly from the Developer Command Prompt for Visual Studio or Developer PowerShell for Visual Studio. T...

Visual Studio 2022 version 17.6 for C++ Developers
May 16, 2023
Post comments count 8
Post likes count 2

Visual Studio 2022 version 17.6 for C++ Developers

Sy Brand
Sy Brand

We are happy to announce that Visual Studio 2022 version 17.6 is now generally available! This post summarizes the new features you can find in this release for C++. You can download Visual Studio 2022 from the Visual Studio downloads page or upgrade your existing installation by following the Update Visual Studio Learn page. Cross-Platform You’re used to debugging your C++ code with a lot of help from the IDE, but what about your build system? You can use the new CMake Debugger to debug your CMake scripts at configure time. You can set breakpoints based on filenames, line numbers, and when CMake errors are ...

C++20 Support Comes To C++/CLI
May 16, 2023
Post comments count 4
Post likes count 8

C++20 Support Comes To C++/CLI

Tanveer Gani
Tanveer Gani

Details of C++20 support for C++/CLI introduced in VS 2022 17.6

What’s New for Makefile Tools in VS Code Version 0.7.0 – Variable Expansion and more…
May 15, 2023
Post comments count 0
Post likes count 1

What’s New for Makefile Tools in VS Code Version 0.7.0 – Variable Expansion and more…

Sinem Akinci
Sinem Akinci

The Makefile Tools team in VS Code has shipped the latest 0.7.0 version of the extension. In this version, we have enabled variable expansion for your Makefile projects in settings, so you no longer need to write plain paths for your Makefiles in the settings.json for the extension and can instead utilize variables that the Makefile extension can detect and replace values for. This allows for easier sharing of settings.json and improved consistency. Also, this allows for parameterization, so that you can define one setting and don’t need to constantly change its value if you toggle between different configuration...

Sign Up for the free Pure Virtual C++ 2023 Conference
May 10, 2023
Post comments count 0
Post likes count 0

Sign Up for the free Pure Virtual C++ 2023 Conference

Sy Brand
Sy Brand

Every year we run Pure Virtual C++: a free one-day virtual conference for the whole C++ community. Next month we’re doing it again! Sign-up for free to get access to our five live sessions and a host of pre-conference content. The live event will run June 6th 13:00-16:00 UTC. Videos will be available to stream for free on YouTube after the conference. The live sessions will be: Hope to see you there!

What’s New for CMake Tools 1.14 in VS Code  – Test Explorer
Apr 27, 2023
Post comments count 0
Post likes count 3

What’s New for CMake Tools 1.14 in VS Code – Test Explorer

Sinem Akinci
Sinem Akinci

The team has been working hard to provide new highly requested capabilities for CMake users. Now, in version 1.14, we have provided a new Test Explorer for using CTest with your CMake projects. This release also features open-source community contributions from users. Thanks for your contributions! Test Explorer One of our most highly-upvoted tickets in the CMake Tools Extension was the request for a Test Explorer for CTest. We are excited to announce that this is now available for users in the latest version of the CMake Tools extension in VS Code. Now, in your CMake projects, you can click the “Run CTest” ico...

Documentation for C++20 Ranges
Apr 26, 2023
Post comments count 2
Post likes count 2

Documentation for C++20 Ranges

Sy Brand Tyler Whitney
Sy,
Tyler

C++20 introduced Ranges to the standard library: a new way of expressing composable transformations on collections of data. This feature adds a huge amount of expressive power and flexibility to C++. As with many concepts in C++, that power comes with new concepts to learn, and some complexity which can be difficult to navigate. One way of taming that complexity is through complete, clear, comprehensive documentation. Christopher Di Bella and Sy Brand (one of the co-authors of this post) presented their ideas for C++ documentation in the era of concepts in their CppCon 2021 talk. Tyler Whitney (the other co...

Fill in the ISO C++ Developer Survey
Apr 24, 2023
Post comments count 0
Post likes count 0

Fill in the ISO C++ Developer Survey

Sy Brand
Sy Brand

The ISO C++ developer survey runs every year and is a great help to us in prioritizing work based on what the community cares about. It only takes about 10 minutes to complete and closes tomorrow, so please take the time to fill it out.  

vcpkg 2023.04.15 Release: vcpkg ships in Visual Studio, Xbox triplets, GitHub Actions Cache Support, and More…
Apr 22, 2023
Post comments count 2
Post likes count 4

vcpkg 2023.04.15 Release: vcpkg ships in Visual Studio, Xbox triplets, GitHub Actions Cache Support, and More…

Augustin Popa
Augustin Popa

The 2023.04.15 release of the vcpkg package manager is available. This blog post summarizes changes from February 25th, 2023 to April 15th, 2023 for the Microsoft/vcpkg, Microsoft/vcpkg-tool, and Microsoft/vcpkg-docs GitHub repos. Some stats for this period:   Notable Changes vcpkg now included with Visual Studio IDE As of Visual Studio 2022 (version 17.6), vcpkg is now added by default for IDE installations that include C++ workloads. Visual Studio users can run vcpkg commands from a Developer Command Prompt for Visual Studio targeting a new version of the IDE – both the ones ...