Remote Native Unit Test Support in Visual Studio

Remote C++ unit testing enables developers to connect Visual Studio 2022 to remote windows environments for running and debugging C++ desktop application tests. This functionality is useful for developers who deploy code to different Windows target environments such as different Windows architectures. With this feature, you can run tests on ...

VS Code C++ Extension January Update: Create Definitions and Declarations

Starting with the 1.13.6 version of the C++ Extension in VS Code, we are happy to share a much requested feature: Auto creation of definitions or declarations for functions! You can now quickly create a declaration in a header file for a function you only have a definition for, or vice versa. These generated definitions and declarations ...

Debug Linux Console apps in Visual Studio’s Integrated Terminal

We have now added the capability for users to debug their C++ Linux Console applications from the Integrated Terminal in Visual Studio 2022 17.5 Preview 3! To learn more about what the Integrated Terminal does and how to work with it in Visual Studio, please see this C++ feature announcement blog post.  Now, using the Linux Console ...

C++ Brace Pair Colorization and More in Visual Studio

Visual Studio 17.5 brings you several new improvements in the C++ editing experience. Now we are excited to announce that C++ Brace Pair Colorization, Spell Checker, All-In-One Search, Reimagined Member List, and Macro Expansion Improvements are released in the Visual Studio Preview.   These features are also part of our focus on ...

Deploy and debug apps on remote targets

There are a number of ways that Visual Studio and Visual Studio Code enable you to interact with remote machines. Both can enable you to connect to a remote machine and use it as a build machine and debug your applications there. Sometimes though your target is not the same as your build machine. For example, for embedded Linux devices you ...

vcpkg Documentation Moves to Microsoft Docs Platform

vcpkg Documentation Moves to Microsoft Docs Platform As of today, the vcpkg documentation has a new home at https://learn.microsoft.com/vcpkg. This is the platform that most Microsoft documentation is hosted on and comes with many features that make it easier to search, navigate, author, and review documentation. All current vcpkg articles ...

Standards conformance improvements to /Gw in Visual Studio version 17.5 Preview 2

The /Gw switch enables the linker to optimize global data to reduce binary size. As part of the 17.5 Preview 2 release a new flag, /Zc:checkGwOdr[-], has been added to improve C++ standards conformance when using /Gw. Previously, when using /Gw, certain One Definition Rule (ODR) violations were being ignored and would not cause an error. The ...