Visual Studio远程编译和运行 [英] Visual Studio Remote Compile and Run

查看:1787
本文介绍了Visual Studio远程编译和运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想弄清楚是否可以使用Visual Studio 2012作为一个完整的linux开发套件。我知道这不是这里的常规问题,但与我合作。到目前为止,我有能力使用Visual Studio作为文本编辑器在我的计算机上运行的Linux的虚拟机内编辑。



我这样做的方式是设置一个永久ssh门户,作为一个硬盘驱动器在我的窗口。我使用一个名为WebDrive的程序:





这很酷,这意味着我有能力从Visual Studio完全查看我的Linux c ++项目。这提供了所有酷的c ++编辑的东西,我喜欢visual studio。


$ b

基本上我现在是一个重美化的文本编辑器。



我想做的是让整个'shabam'工作。



我想能够从Visual Studio远程编译并运行服务器地址的代码。是否可以?代码是用cmake和g ++编译器构建的?

解决方案

您最好的选择是 http://www.wingdb.com/ 。 WinGDB允许在VS studio中工作,并在远程Linux机器上直接编译。支持在VS内全面调试。对于DLL,您可以附加到在VS中的Linux构建服务器上运行的远程进程。伟大的解决方案,在更好的VS dev环境中工作,但仍具有Linux dev堆栈的全部功能。通过VS项目文件自动生成makefile。希望这可以帮助。


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:

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?

解决方案

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.

这篇关于Visual Studio远程编译和运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆