在具有多个用户的Visual Studio中使用MSDeploy/Web部署为发布方法 [英] Using MSDeploy/Web Deploy as Publish method in Visual Studio with multiple users
问题描述
是否可以使用来自多个开发人员PC的Web部署?
Is it possible to use web deploy from multiple developer PC's?
当我们尝试这样做时,似乎我们需要在其他人想要进行部署时重新发布所有内容.
When we try to do so it seems we need to re-publish everything when someone else wants to do a deploy.
我们是在做错什么吗,有没有解决的办法,或者在我们的方案中推荐的方法是什么?
Are we doing something wrong, is there a way around this, or what would be a recommended approach in our scenario?
我知道从中心位置进行部署是一个更好的解决方案,但是不幸的是,目前这不是一个选择.
I'm aware that deploying from a central location is a better founded solution, but unfortunately this is not an option at the moment.
推荐答案
使用Visual Studio,否.当前的构建脚本无法为MSDeploy提供必要的标志.
Using Visual Studio, no. The current build scripts don't have a way of providing the necessary flag to MSDeploy.
如果您使用软件包中生成的cmd
文件执行部署,则可以将-useChecksum
附加到命令行,它将使用校验和比较而不是上次修改日期.
If you are using the generated cmd
file from a package to perform the deployment you can append -useChecksum
to your command line and it will use checksum comparisons rather than the last modified date.
这篇关于在具有多个用户的Visual Studio中使用MSDeploy/Web部署为发布方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!