使用 Visual Studio 2010 进行持续部署
我必须尽快部署一个网站,然后逐步添加一些功能和修复。在 Visual Studio 2008 中,我曾经传输/复制网站,我可以在对话框中看到我的系统上的哪个文件与服务器不同,并仅部署该特定更改。
但该对话框似乎已在 Visual Studio 2010 中取消,并且已实施一键发布。如何仅发布我已添加/修改的文件。我正在考虑做像 FileZilla 这样的 FTP 客户端,但是跟踪更改就变得很头痛。
在这种场景下,站点部署的最佳方式是什么?
I have to deploy a website asap and then incrementally keep on adding some features, fixes. In Visual Studio 2008, I used to transfer/copy website where I could see in the dialog which file on my system is different from the server and deploy only that particular change.
But that dialog seems to have been taken down in Visual Studio 2010 and a one click publish has been put in place. How do I publish just the files I have added/modified. I am thinking of doing FTP client like FileZilla but keeping track of changes then becomes a headache.
What is the best way for site deployment in such a scenario?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
MSBuild
但是,如果您想要快速&肮脏的解决方案(并且由于您没有提到 TFS 或持续集成,我假设您这样做了),然后编写一个 robocopy 脚本来仅复制较新的文件。但话又说回来; 使用 Robocopy 部署网站
MSBuild
But if you fancy a quick & dirty solution (and since you haven't mentioned TFS or continuous integration, i assume you do), then write a robocopy script to only copy newer files. But then again; Using Robocopy to deploy sites