C++ Team Blog

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

Going Native: Build Throughput, PCH Tool

The Visual C++ team is committed to improving your build throughput in VS2015, and we’re not just talking about shaving-off-a-few-seconds-chump-change. Check out our latest GoingNative video for a slew of tools to help you get those gains, and in particular, be sure to try out our Precompiled Header (PCH) Tool on VS Gallery and let us ...

Introducing the Universal CRT

In June of last year we published a pair of articles discussing the major changes that we had made to the Visual C++ C Runtime (CRT) for Visual Studio 2015. In "The Great C Runtime (CRT) Refactoring" we explained the major architectural changes that we had made to the CRT. In "C Runtime (CRT) Features, Fixes, and Breaking Changes in Visual ...

C/C++ Code analysis in VS2015

By Joe Morris & Jim Springfield (MSFT) This blog provides answers to the following 2 questions. Before we get started, let’s be on the same page on some terminology. Code analysis: C/C++ code analysis is also known as /analyze. It is sometimes referred to as “static code analysis” or simply “code analysis...

Developing Xamarin Android Native Applications

Xamarin has quickly become a popular way for creating cross-platform mobile applications promoting true code-reuse while allowing developers to create native* (native here means natural to the platform) user interfaces, providing them access to full spectrum of functionality exposed by the underlying platform/device and guaranteeing native* ...

Find Your Favorite Library for C++ in NuGet

Many of you may know that NuGet is the “go-to” library repository for .NET development, but what about using it for C++? The answer here may surprise you as many of the top open source C++ libraries are actually sitting in the NuGet gallery. For those who haven’t used NuGet before, NuGet is the package manager system for the...

Native Memory Diagnostics in CTP 5

The Visual Studio Memory Usage tool is now selected by default in VS2015 CTP 5.  When you first debug a native app in CTP 5, the Diagnostic Tools window will launch and show both the Memory Usage and CPU Usage tools since they are both checked by default.  For more information on the Diagnostic Tools window and other tools, please ...

Code Analysis Survey

The Visual C++ team loves surveys, but maybe not for the reasons you think.Surveys are often used to collect data that is sliced, diced, aggregated and munged to provide objective audience insights. We use some of our surveys for this purpose -- how common is the use of some feature, scenario, or inhibition to upgrade to a newer version of ...

IncrediBuild and the Visual Studio 2015 Preview

As a reader of this blog, you already know that Visual Studio 2015 Preview is available and has been for a few months. Many of you have downloaded the preview and tried out the many new productivity, performance, portability and cross-platform features. We appreciate your feedback (and bug reports)!But what you might not know is that ...

Targeting Android with the C++ REST SDK

Right before the holidays we put together a new release, version 2.4.0, of the C++ REST SDK. One of the new features added in the library is support for targeting Android using the Visual Studio 2015 cross platform mobile development, as well as the x86 Android emulator. In this post I’m going to walk through showing how to create an ...

Debug JNI Android Applications using Visual C++ Cross-Platform Mobile

With Visual Studio 2015 preview (download here) we have introduced the ability for developers to create cross-platform mobile applications with Visual C++. For the Android platform specifically this enablement includes ability for developers to create native-activity applications, dynamic and static native binaries along with a range of ...