Marc Goodner says "Today we only support building remotely on the Linux target machine. We are not limited by specific Linux distros but we do have dependencies on the presence of some tools. Specifically, we need openssh-server, g++, gdb and gdbserver."
The Visual C++ for Linux extension can be installed through the extension manager in Visual Studio.
For more details you can read the original blog post by Microsoft.