简体   繁体   English

有没有一种方法可以在Visual Studio 2008+中在FTP服务器上编辑和保存文件?

[英]Is there a way to edit and save files on an FTP server in Visual Studio 2008+?

I want to create a project and manage the files in Visual Studio 2008 on my computer, but I want VS to upload everything to an FTP server whenever I save the project, so that I can quickly compile and test my program on UNIX. 我想创建一个项目并在计算机上管理Visual Studio 2008中的文件,但是我希望VS在保存该项目时将所有内容都上传到FTP服务器,以便可以在UNIX上快速编译和测试程序。

I have been using BBEdit on my Mac, which has built-in FTP opening and saving, but I want to move over to Visual Studio because I want to use Intellisense. 我一直在Mac上使用BBEdit,它具有内置的FTP打开和保存功能,但由于要使用Intellisense,我想移到Visual Studio。

Is there built-in functionality in Visual Studio for doing this, or a plug-in that I could install? Visual Studio中是否有内置功能可以执行此操作,或者我可以安装插件? It would really speed up my workflow. 这确实可以加快我的工作流程。

I am not sure if there is any Visual Studio Add-in for this purpose. 我不确定是否有用于此目的的任何Visual Studio加载项。 However, you can do this in a post-build operation using the FTP command line option. 但是,您可以使用FTP命令行选项在生成后的操作中执行此操作。 You can also use this nice free FTP tool - NcFTP Client for this purpose. 您也可以使用此漂亮的免费FTP工具-NcFTP Client It will push the files into FTP location whenever you build the project. 每当您构建项目时,它将文件推入FTP位置。 I hope this helps. 我希望这有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM