C++ Team Blog

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

Latest posts

Dec 12, 2023
Post comments count 0
Post likes count 3

Azure Networking Team reaches peak productivity with Visual Studio’s new remote Linux capabilities and improvements

Sinem Akinci

Over the past couple of months, the Microsoft C++ team reached out to a series of customers voting on a suggestion ticket asking for Remote Linux Unit Testing support to better understand their full set of interactions and needs with CMake and Remote Linux scenarios in Visual Studio. After these discussions, we built out a backlog of work items to deliver on any pain points in their experiences. One of the customers we interviewed and worked closely with during the process was John Schultz, an Azure Networking software engineer. Our team helped John not only to be able to F5 run his CTest unit tests for Linux,...

Dec 12, 2023
Post comments count 0
Post likes count 7

Directly Edit Unreal Engine Projects in Visual Studio 2022

David Li

Introduction We are excited to announce that Visual Studio 2022 version 17.9 Preview 2 offers direct support for Unreal Engine projects. We would like to give a special thank you to the folks at Epic Games. Our on-going collaboration made this feature possible. In addition, this feature relies on the latest features of Unreal Engine 5.4. You will no longer need to generate a Visual Studio solution. Currently, whenever you are working with Unreal Engine projects in Visual Studio, you must generate a Visual Studio solution from within the Unreal Editor or using the Unreal Build Tool (UBT). However, this pro...

Nov 28, 2023
Post comments count 2
Post likes count 0

What’s New in the vcpkg 2023.11.20 Release

Augustin Popa

The 2023.11.20 release of the vcpkg package manager is available. This blog post summarizes changes from October 19th, 2023 to November 19th, 2023 for the Microsoft/vcpkg, Microsoft/vcpkg-tool, and Microsoft/vcpkg-docs GitHub repos. Some stats for this period:   Key changes This vcpkg update includes some bugfixes, documentation improvements, as well as a new community triplet. Notable changes for this release are summarized below.   Added mips64-linux community triplet A community contributor has added a mips64-linux community triplet. MIPS stands for Microprocessor w...

Nov 17, 2023
Post comments count 0
Post likes count 2

Functions View for Build Insights in Visual Studio 2022 17.8

Eve Silfanus

Introduction We are excited to unveil a new feature in Build Insights for Visual Studio: Functions View! This feature is available in Visual Studio 2022 version 17.8. Functions View offers essential insights into functions and forceinlines within your codebases. Download Visual Studio 2022 17.8 We extend our sincere thanks thanks to the developer community, especially our game studio partners, for actively providing feedback. Your contributions are invaluable in shaping this new feature. For more details about Build Insights and to explore other features like Included Files and Include Tree Views, pleas...

Nov 16, 2023
Post comments count 0
Post likes count 0

Debug vcpkg portfiles in CMake script mode with Visual Studio Code

Ben McMorran

We recently announced support for debugging the CMake language using the VS Code CMake Tools extension. Now in version 1.16 of the extension, you can fine-tune the debugger configuration using a launch.json file. This enables debugging in CMake script mode in addition to the existing debugging of CMake project generation.  CMake script mode is an alternative way of running CMake that does not generate a build system, but instead uses the CMake language as a general-purpose scripting language. While script mode is not widely used (although there are fun esoteric examples), it is the mechanism that powers vcpkg ...

Nov 15, 2023
Post comments count 1
Post likes count 1

C++ Extension in VS Code 1.18 Release: Quick Fixes for missing header files, Extract to Function & More 

Alexandra Kemper

The 1.18 version of the C++ Extension in Visual Studio Code has been released. With this version of the extension, we have added several new features such as:    For the full list of changes, please reference the 1.18 release notes.   Quick Fixes for missing header files  Have you ever written C++ code and forgotten to add the right header? Gotten frustrated because of an IntelliSense error that turns out to just be a missing header file? We have now added a quick fix suggestion (lightbulb) to make the process of adding the correct header files to C++ files easier. If there is an unknown symb...

Nov 15, 2023
Post comments count 0
Post likes count 1

Visual Studio Code CMake Tools Extension 1.16 Update: New CMake Tools Sidebar and CMake Debugging options

Sinem Akinci

The November release of the CMake Tools extension in VS Code is now available. With this release, we have two major new updates to the extension:  The full list of updates can be seen in our change log. This release features 10 contributions from the open-source community. Thank you all for your continued support!  Release Schedule Updates Starting with this November release, CMake Tools will now release every 3 months. You can learn more about our release schedules on our release schedule wiki.  Updates to the default CMake Tools UI Starting in this 1.16 release, the default CMake Tools status b...

Nov 14, 2023
Post comments count 2
Post likes count 3

Unreal Engine and C++ Game Development Made Easy with Visual Studio 2022

David Li

Introduction Creating amazing games just got easier. We are very happy to announce the latest Unreal Engine integrations and powerful C++ productivity features in Visual Studio 2022. Our team has been tirelessly working to incorporate your feedback and bring even more features that will enhance your game development experience whether you work on Unreal Engine or a proprietary engine. In this blog, we will explore how you can leverage the new Unreal Engine Test Adapter, which helps to streamline your testing process without leaving the IDE. Then, we will also show you how you can code faster with Unreal E...

Nov 14, 2023
Post comments count 15
Post likes count 3

What’s New for C++ Developers in Visual Studio 2022 17.8

Sy Brand

We are happy to announce that Visual Studio 2022 version 17.8 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. Standard Library The Standard Library Modules standardized in C++23 are now available in C++20 mode. This is a cross-vendor extension, planned or supported also by libstdc++ and libc++. We have also implemented several new C++23 and C++26 features, including augmented support for Freest...