Showing archive results for 2021

Mar 10, 2021
Post comments count14
Post likes count0

IntelliSense Improvements in Visual Studio 2019

Will Buik
Will Buik

We’ve made many great improvements to C++ IntelliSense over the course of the Visual Studio 2019 release. We’ve collected a few of the highlights in case you are interested in upgrading to Visual Studio 2019 or just want to learn how to be more productive when writing C++ code. If you have followed our blog since the 2019 Previews, you may be famil...

C++
Mar 9, 2021
Post comments count22
Post likes count0

Address Sanitizer for MSVC Now Generally Available

Augustin Popa
Augustin Popa

 This post was last updated on March 10th, 2021. Special thanks to Aaron Gorenstein who provided most of the content for this blog post. Special thanks as well to Kevin Cadieux and Jim Radigan who also made contributions.   You can check out a demo on this feature in the latest Visual Studio Toolbox episode on YouTube: Visual Studio Toolbox L...

C++
Mar 8, 2021
Post comments count0
Post likes count0

Microsoft C++ Team at ACCU 2021

Erika Sweet
Erika Sweet

Sy Brand and Erika Sweet from the Microsoft C++ Team will be presenting at ACCU 2021 this week. Come say hi in the virtual conference space and let us know if you have any questions about our talks, products, or anything else. We also recommend dropping by the #include <C++> table in the expo hall to learn more about their community.   Dynam...

C++Announcement
Feb 26, 2021
Post comments count2
Post likes count0

Remote Debug Support in Visual Studio 2019

Lisbeth Cardoso Guerra
Lisbeth Cardoso Guerra

Visual Studio 2019 offers remote debug support for MSBuild and CMake projects targeting Windows and Linux. Thanks to remote debugging, our customers can target a wider, more diverse range of scenarios. We offer the flexibility to customize your deployment and automatically copy any dependencies needed to the target machine.

C++CMakeLinux
Feb 25, 2021
Post comments count2
Post likes count5

Registries: Bring your own libraries to vcpkg

Augustin Popa
Augustin Popa

Special thanks to Nicole Mazzuca for providing the content of this blog post. Are you working on a C++ project with library dependencies? Are you tired of maintaining a custom-built package management workflow with duct tape and git submodules? Then you should consider trying out a package manager. Perhaps you have been side-eyeing vcpkg for a ...

C++Vcpkg
Feb 18, 2021
Post comments count8
Post likes count0

Take control of your vcpkg dependencies with versioning support

Augustin Popa
Augustin Popa

Special thanks to Victor Romero for putting together the content for this blog post. We have an exciting new feature to announce in vcpkg: the long-awaited and highly requested package versioning! This feature makes it possible to install specific versions of dependencies and control installed versions over time. In order to use this feature, a ...

C++Vcpkg
Feb 17, 2021
Post comments count3
Post likes count2

Now announcing: Makefile support in Visual Studio Code!

Julia Reid
Julia Reid

We are excited to announce a brand-new extension for building and debugging Makefile projects in Visual Studio Code: Makefile Tools (preview)! The extension is in pilot stages, but we’ve curated a list of over 70 popular opensource Makefile projects that work with Makefile Tools. Give it a try and let us know what you think! Installing the ext...

C++AnnouncementVisual Studio Code
Feb 9, 2021
Post comments count1
Post likes count0

Visual Studio Code C++ Extension: Cross-Compilation IntelliSense Configurations

Julia Reid
Julia Reid

The February 2021 update of the Visual Studio Code C++ extension is now available! This latest release provides support for cross-compilation IntelliSense configurations and over 60 bug fixes! To find out more about all the enhancements, check out our release notes on GitHub. Cross-compilation IntelliSense configurations With this latest release,...

C++AnnouncementVisual Studio Code
Feb 9, 2021
Post comments count14
Post likes count0

Improved OpenMP Support for C++ in Visual Studio

Bran Hagger
Bran Hagger

In Visual Studio 2019 version 16.9 we shipped the first stage in our plan to support newer versions of the OpenMP standard in C++ under the -openmp:llvm flag. This flag currently enables several correctness fixes and the use of unsigned integers in parallel for loops.

C++OpenMP
Feb 4, 2021
Post comments count8
Post likes count4

Abbreviated Function Templates and Constrained Auto

Sy Brand
Sy Brand

Declaring function templates in C++ has always been quite verbose. C++20 added a new way of doing so that is more terse and more consistent with lambdas: abbreviated function templates. This short post will show how to use this syntax and how it applies to C++20 concepts. Abbreviated Function Templates C++11 introduced lambdas, which look like th...

C++