Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Remote Compile and Run

I am trying to figure out if it is possible to use Visual Studio 2012 as a full linux development suite. I know this is not the regular question here but work with me. What i have so far is the ability to use Visual Studio as a text editor to edit inside a virtual machine of Linux running on my computer.

The way that I have done this is to set up a permanent ssh portal that acts as as a hard drive in my windows. I have done this using a program called WebDrive:

enter image description here

So that is cool, it means I have the ability to fully view my Linux c++ project from Visual Studio. This provides all of the cool c++ editing things that i like about visual studio.

So where to from here?

Basically what I have now is a heavy glorified text editor.

What I would like to do is get the whole 'shabam' working.

I would like to be able to compile and run code from visual studio remotely on a server address. Is it possible? The code is built with cmake and g++ compiler?

like image 269
Fantastic Mr Fox Avatar asked Mar 05 '13 23:03

Fantastic Mr Fox


1 Answers

Your best bet would be http://www.wingdb.com/. WinGDB allows working within VS studio and compiling on a remote Linux machine directly. Full step through debugging within VS is supported. For DLLs you can attach to remote process running on your Linux build server within VS. Great solution for working within the kinder VS dev environment but still having the full power of the Linux dev stack. Auto-generation of makefiles via VS project files too. Hope this helps.

like image 163
Atlas Avatar answered Oct 13 '22 11:10

Atlas