Facilitating the spread of knowledge and innovation in professional software development



Choose your language

InfoQ Homepage News Targeting Linux Made Easier in Visual Studio 2015

Targeting Linux Made Easier in Visual Studio 2015


The Visual C++ for Linux extension provides Visual Studio 2015 users with the ability to write C or C++ code in VS2015 and then deploy the code to a Linux-based system for compilation and debugging.  Source code and project files are transferred via SSH to the remote machine, and the program's output is shown from within Visual Studio.

Microsoft's Marc Goodner has released details on the new version (1.0.5) which focuses on new options in the following areas:  makefile project template, remote source copy management, overridable C/C++ compiler path and new debugging options.

The Makefile project template enables you to use an existing build system (make, CMake, etc.) on the remote machine and reference this in your VS2015 project’s property settings.  The normal workflow would be to edit code in VS2015, tell VS2015 to start the build, call the existing build system for compilation, and debug the resulting program in Visual Studio.

There is now more granular control over the whether or not source files are copied to the remote machine.  Whether or not files should be transferred for a build can be configured at the file and/or project level.  Another configuration option available is the ability to specify which compiler(s) should be used.  This allows a project to choose clang or a specific compiler version needed for the project.  Finally the debugger can be given additional command line arguments and the debugging mode can be set.  Changing the debugging mode is helpful for situations where the local machine running Windows does not have a suitable version of gdb.

This extension is available for download at the Visual Studio Gallery, and interested developers can also browse the project page hosted on GitHub.

We need your feedback

How might we improve InfoQ for you

Thank you for being an InfoQ reader.

Each year, we seek feedback from our readers to help us improve InfoQ. Would you mind spending 2 minutes to share your feedback in our short survey? Your feedback will directly help us continually evolve how we support you.

Take the Survey

Rate this Article


Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p


Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.