Introducing 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 ArticleC++ Binary Compatibility and Pain-Free Upgrades to Visual Studio 2019
Visual Studio 2019 pushes the boundaries of individual and team productivity. We hope that you will find these new capabilities compelling and start your upgrade to Visual Studio 2019 soon. As you are...
View ArticleWhat’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 ArticleCode analysis with clang-tidy in Visual Studio
[Updated on 11/6/2019] – Removed “Setup: Installing Clang tools” section; this is no longer required starting in Visual Studio 2019 version 16.4 Preview 3. Visual Studio 2019 version 16.4 Preview 1...
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 ArticleAn Update on C++/CLI and .NET Core
The first public release of our C++/CLI support for .NET Core 3.1 is now available for public preview! It is included in Visual Studio 2019 update 16.4 Preview 2. We would love it if you could try it...
View ArticleVisual Studio Code C++ extension: Nov 2019 update
The November 2019 update of the Visual Studio Code C++ extension is now available. This latest release comes with a big list of improvements: Find All References, Rename Symbol refactoring, support for...
View ArticleIntroducing C++ Build Insights
C++ builds should always be faster. In Visual Studio 2019 16.2, we’ve shown our commitment to this ideal by speeding up the linker significantly. Today, we are thrilled to announce a new collection of...
View ArticleEA and Visual Studio’s Linux Support
EA is using Visual Studio’s cross-platform support to cross-compile on Windows and debug on Linux. The following post is written by Ben May, a Senior Software Engineer of Engineering Workflows at EA....
View ArticleSet Environment Variables for Debug, Launch, and Tools with CMake and Open...
There are many reasons why you may want to customize environment variables. Many build systems use environment variables to drive behavior; debug targets sometimes need to have PATH customized to...
View ArticleCMake Tools Extension for Visual Studio Code
Microsoft is now the primary maintainer of the CMake Tools extension for Visual Studio Code. The extension was created and previously maintained by vector-of-bool, who has moved on to other things....
View ArticleBuild C++ Applications in a Linux Docker Container with Visual Studio
Docker containers provide a consistent development environment for building, testing, and deployment. The virtualized OS, file system, environment settings, libraries, and other dependencies are all...
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 Article