What’s New in CMake – Visual Studio 2019 Preview 2
We have made a bunch of improvements to Visual Studio’s CMake support in the latest preview of the IDE. Many of these changes are taking the first steps to close the gap between working with solutions...
View ArticleUsing VS Code for C++ development with containers
This post builds on using multi-stage containers for C++ development. That post showed how to use a single Dockerfile to describe a build stage and a deployment stage resulting in a container optimized...
View ArticleVisual Studio 2019 Preview 2 Blog Rollup
Visual Studio 2019 Preview 2 was a huge release for us, so we’ve written a host of articles to explore the changes in more detail. For the short version, see the Visual Studio 2019 Preview 2 Release...
View ArticleBuild 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...
View ArticleMicrosoft 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...
View ArticleC++20 Concepts Are Here in Visual Studio 2019 version 16.3
C++20 Concepts are now supported for the first time in Visual Studio 2019 version 16.3 Preview 2. This includes both the compiler and standard library support. First, we’re debuting the feature via...
View ArticleOpen 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...
View ArticleThe 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...
View ArticleMicrosoft 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...
View ArticleC++20’s Conditionally Explicit Constructors
explicit(bool) is a C++20 feature for simplifying the implementation of generic types and improving compile-time performance. In C++ it is common to write and use types which wrap objects of other...
View ArticleCode analysis with clang-tidy in Visual Studio
Visual Studio 2019 version 16.4 Preview 1 brings a significant improvement to the C++ code analysis experience: native support for clang-tidy, a Clang-based “linter” tool developed by the LLVM Project...
View ArticleUsability Improvements for CMake in Visual Studio 2019 version 16.4: Launch...
We hear your feedback, and in Visual Studio 2019 version 16.4 Preview 2 we have addressed one of our top Developer Community issues related to CMake development in Visual Studio by revamping the...
View ArticleAddressSanitizer (ASan) for Windows with MSVC
We are pleased to announce AddressSanitizer (ASan) support for the MSVC toolset. ASan is a fast memory error detector that can find runtime memory issues such as use-after-free and perform out of...
View ArticleMicrosoft C++ Team At CppCon 2019: Videos Available
Last month a large contingent from the Microsoft C++ team attended CppCon. We gave fourteen presentations covering our tools, developments in the standard, concepts which underlie the work we do, and...
View ArticleC++ Productivity Improvements in Visual Studio 2019 Preview 2
Visual Studio 2019 Preview 2 contains a host of productivity features, including some new quick fixes and code navigation improvements: Quick fixes for: Add missing #include NULL to nullptr Add missing...
View ArticleIn-editor code analysis in Visual Studio 2019 Preview 2
The C++ team has been working to refresh the Code Analysis experience inside Visual Studio. Last year, we blogged about some in-progress features in this area. We’re happy to announce that in Visual...
View ArticleIntroducing the New CMake Project Settings UI
Visual Studio 2019 Preview 2 introduces a new CMake Project Settings Editor to help you more easily configure your CMake projects in Visual Studio. The editor provides an alternative to modifying the...
View ArticleConcurrency Code Analysis in Visual Studio 2019
Concurrency Code Analysis in Visual Studio 2019 The battle against concurrency bugs poses a serious challenge to C++ developers. The problem is exacerbated by the advent of multi-core and many-core...
View ArticleNew Code Analysis Checks in Visual Studio 2019: use-after-move and coroutine
New Code Analysis Checks in Visual Studio 2019: use-after-move and coroutine Visual Studio 2019 Preview 2 is an exciting release for the C++ code analysis team. In this release, we shipped a new set of...
View ArticleVisual Studio Code C/C++ extension: January 2019 Update
The January 2019 update of the Visual Studio Code C++ extension is now available. This release includes many new features and bug fixes including documentation comments support, improved #include...
View Article