Visual Studio 2017将文件复制到Linux [英] Visual Studio 2017 copy file to Linux

查看:519
本文介绍了Visual Studio 2017将文件复制到Linux的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个c ++ CMake项目,有超过70个项目。但是Windows和Linux平台上只有几个项目,当使用VS 2017 Linux插件时,所有文件都必须复制到Linux框中,而且我总是得到以下错误

I have a c++ CMake Project which have more than 70 projects. but there are only several projects for both Windows and Linux platform, when use VS 2017 Linux plugin all files have to copy to Linux box, and I always get below errors

有没有办法让VS 2017不会将所有文件复制到Linux,只需复制所需文件,这样会减少很多时间。

is there a way let VS 2017 not copy all files to Linux, just copy required files, so this will reduce much time.

也许我可以创建另一个文件夹,其中只包含将在Linux上编译的项目,但通过这种方式,我有两个副本的文件。一个用于Linux,另一个用于Windows。如果VS 2017有这个,那就更好了

Maybe I could create another folder which just contain the projects which will compile on Linux, but in this way I have two copy of those files. one for Linux and another for Windows. If VS 2017 has this, then would be better

谢谢,

Tiger

推荐答案

你好dxaw2000,

Hi dxaw2000,

我不确定VS 2017 Linux插件有任何设置来实现它,我建议你可以连接插件的作者寻求帮助。

I am not sure that the VS 2017 Linux plugin have any settings to achieve it, I would suggest that you could connect the author of plugin to ask for help.

另外,你也可以写有关Visual Studio扩展的更多信息,请参阅:

In addition, you could also you write a custom plugin to achieve it. for more information about visual studio extension, please refer to:

https://docs.microsoft.com/en-us/visualstudio/extensibility/extending-menus-and-commands

Best问候,

张龙


这篇关于Visual Studio 2017将文件复制到Linux的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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