C++ Team Blog
The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team
Latest posts
Microsoft C++ Team on CppCast
Today we have a short guest post from Rob Irving, host of CppCast to tell us about an episode he recorded with our team. During CppCon 2019 the hosts of CppCast had a chance to sit down with Marian Luparu, Sy Brand and Stephan T. Lavavej from Microsoft's C++ team to discuss some of the announcements made by the team at CppCon. For those not familiar with CppCast. It's an audio podcast hosted by Microsoft MVPs Rob Irving and Jason Turner. This latest episode is the 216th of the (almost) weekly podcast that started in 2015. In each ~40-60 minute episode they talk to a member of the C++ community...
The Future of C++/CLI and .NET Core 3
.NET Core 3.0 is now available and we have received a lot of questions about what that means for the future of C++/CLI. First, we would like to let everyone know that we are committed to supporting C++/CLI for .NET Core to enable easy interop between C++ codebases and .NET technologies such as WPF and Windows Forms. This support isn’t going to be ready when .NET Core 3.0 first ships, but it will be available in .NET Core 3.1 which ships with Visual Studio 2019 16.4 – roadmap. C++/CLI will have full IDE support for targeting .NET Core 3.1 and higher. This support will include projects, IntelliSense, and mixed-m...
Open Sourcing MSVC’s STL
Today at CppCon 2019, we (the MSVC team) announced that we're releasing our implementation of the C++ Standard Library (also known as the STL) as open source. https://github.com/microsoft/STL is our new repository, containing all of our product source code, a new CMake build system, and a README with more information. As it explains, we're still working on migrating to GitHub. While you can clone and build the code right now, there are several things we need to do (like adding our test suites) before we can begin reviewing pull requests. Q&A Q: Why are you doing this? A: There are several reasons....
C++20 Concepts Are Here in Visual Studio 2019 version 16.3
C++20 Concepts are now available for the first time in Visual Studio 2019 version 16.3 Preview 2. This includes both the compiler and standard library support, but not the intellisense support.
Microsoft C++ Team at CppCon 2019
The Microsoft C++ team will have a booth and many talks covering a wide range of topics at CppCon 2019. Come say hi to our team outside Aurora D and attend our talks to learn what's new in our tooling, dive into new features in the standard, and hear some exciting announcements! We'll also be running a survey on the C++ ecosystem and giving away an Xbox One S to one participant. We'll put the link here when it's available, but you'll also be able to find it by stopping by the booth or coming to any of our talks: Monday, September 16th 14:00 - 15:00: Hello World From Scratch by Sy Brand and Peter Binde...
Build and Debug MySQL on Linux with Visual Studio 2019
The MySQL Server Team recently shared on their blog how to use Visual Studio 2019 to edit, build, and debug MySQL on a remote Linux server. This leverages Visual Studio’s native support for CMake and allows them to use Visual Studio as a front-end while outsourcing all the “heavy lifting” (compilation, linking, running) to a remote Linux machine. “I’ve recently found myself using Microsoft Visual Studio on my laptop as my ‘daily driver.’ I have a history with VS. But I also really like how the product is developing as of late. The pace of innovation is great and the team behind it extremely responsive. T...
C++ Cross-Platform Development with Visual Studio 2019 version 16.3: vcpkg, CMake configuration, remote headers, and WSL
In Visual Studio 2019 you can target both Windows and Linux from the comfort of a single IDE. Visual Studio’s native support for CMake lets you open any folder containing C++ code and a CMakeLists.txt file directly in Visual Studio to edit, build, and debug your CMake project on Windows, Linux, and the Windows Subsystem for Linux (WSL). Visual Studio’s MSBuild-based Linux support allows you to create and debug console applications that execute on a remote Linux system or WSL. For either of these scenarios, the Linux development with C++ workload is required. Visual Studio 2019 version 16.3 Preview 2 introduc...
Vcpkg: 2019.07 Update
The 2019.07 update of vcpkg, a tool that helps you manage C and C++ libraries on Windows, Linux, and macOS, is now available. This update is a summary of the new functionality and improvements made to vcpkg over the past month. Last month was the first time we created a vcpkg release (Vcpkg: 2019.06 Update). In this post, we will cover caching in Azure Pipelines with vcpkg in addition to many new port and triplet updates, improvements for port contributors, and new documentation. For a full list of this release’s improvements, check out our changelog on GitHub. Caching in Azure Pipelines with vcpkg The publi...
Productivity Improvements for C++: New Default Colorization, Template Argument Filtering in Call Stack Window, and IntelliCode On-By-Default
New Default Semantic Colorization In Visual Studio 2019 version 16.3 Preview 2 we’ve introduced a new default semantic colorization scheme for C++. For a long time, many of the default colors were simply black. However, colorization can help you quickly understand the structure of code at a glance. To take advantage of this, we’ve created two new color schemes, and of course you can still customize your colors further by typing “Change font” in the Ctrl + Q search bar. Under Tools > Options > Text Editor > C++ > View > Color Scheme you can now pick between three presets: Enhanced, Enhanced (Glo...