C++ Team Blog

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

Unit Testing: Test Adapter for Google Test goes in-box!

If you're just getting started and want to learn more about C++ Unit Testing, check out our tutorial.  Here on the Visual C++ team, we want to make your unit testing experience as enjoyable as possible. Microsoft's native unit test framework has shipped with Visual Studio for a while, but we know C++ developers may wish to use other popular ...

Vcpkg: Using multiple enlistments to handle multiple versions of a library

Vcpkg allows you to acquire and build 3rd party libraries on Windows. Once cloned, the vcpkg directory (enlistment) provides a stable set of libraries that are all compatible and based on the latest published version of these libraries. Occasionally, you may need different versions of the same library. By design, you can’t have two different...

ARM GCC Cross Compilation in Visual Studio

点这里看中文版 ⏱ Updated on January 10, 2018 to cover addition of debugging support in Visual Studio 2017 15.6 In Visual Studio 2017 15.5 we are introduced support for cross compilation targeting ARM microcontrollers. The 15.6 Preview 2 release adds debugging support. To enable this in the installation choose the Linux development ...

Remote tasks in Visual Studio

We have introduced a new capability to run remote tasks in Visual Studio 2017 15.5 Preview 2.  This capability allows you to run any command on a remote system that is defined in Visual Studio’s Connection Manager. Remote tasks also provide the capability to copy files to the remote system. This feature is added when you install the Linux ...

Visual Studio Code C/C++ extension October 2017 update

点这里看中文版 Yesterday we shipped the October 2017 update of the Visual Studio Code C/C++ extension. Following the lightbulb suggestions for IntelliSense include path feature that was shipped last month, we're adding another feature to make IntelliSense setup easier - support for the compile_commands.json file, eliminating the need ...

Visual Studio 15.5 Preview 1 Productivity Improvements: Structure Visualizer, Ctrl + Click Go to Definition, Faster Find All References, and More

点这里看中文版 Visual Studio 2017 Update 15.5 Preview 1 brings you a number of productivity and performance improvements that will save you time as a C++ developer. For this release, we brought two features from the Productivity Power Tools extension inside the product: the Structure Visualizer, and Ctrl + Click to Go To Definition. In...

Visual Studio Code C/C++ extension September 2017 Update – more IntelliSense goodness!

The Visual Studio Code C/C++ extension has had over one million downloads in the past two months! We are very happy to see so much interest in the most popular C++ extension for Visual Studio Code. Even more exciting for us last week was the release of the September 2017 update, which brings in many new features to the extension...