【发布时间】:2012-10-19 20:34:19
【问题描述】:
我在团队城市中有以下命令行参数进行部署。一切正常,但我想在部署时跳过一些目录。我如何在团队城市的 msbuild 脚本中添加该逻辑
/P:Configuration=%env.Configuration%
/P:DeployOnBuild=True
/P:DeployTarget=MSDeployPublish
/P:MsDeployServiceUrl=https://%env.TargetServer%/MsDeploy.axd
/P:AllowUntrustedCertificate=True
/P:MSDeployPublishMethod=WMSvc
/P:CreatePackageOnPublish=True
/P:SkipExtraFilesOnServer=True
/P:UserName=xxxxx
/P:Password=xxxxx
【问题讨论】:
-
我有一个后续问题:在 VSTS 中如何在 VS Build 期间跳过目录?