【发布时间】:2013-10-24 13:06:59
【问题描述】:
今天我使用 msbuild 将 Web 应用程序部署到 iis 服务器。如何使用 msdeploy(命令行)做同样的事情?
MSBuild.exe myproject.csproj
/P:VisualStudioVersion=11.0
/P:Password=pass
/P:AllowUntrustedCertificate=true
/P:DeployOnBuild=True
/P:PublishProfile=deploytest
/P:DeployIISAppPath="Default Web site"
/P:MsDeployServiceUrl=my.server.com
/P:Configuration=Release
【问题讨论】:
标签: msbuild msdeploy webdeploy