我在构建服务器上安装了 .NET 4.0,以及 Web Deploy 1.1
我打开了一个命令窗口来测试 Web 部署,但是每当我运行它时,构建都会成功,并且不会发生任何发布。
我在我的开发机器上尝试了完全相同的事情,并且部署触发了,所以我想知道,为什么 msbuild 没有在我的构建服务器上启动发布?
这是我正在运行的命令
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\msbuild.exe NerdDinner.sln /P:Configuration=Release /P:DeployOnBuild=True /P:DeployTarget=MSDeployPublish /P:MsDeployServiceUrl=http://someserver/ MsDeployAgentService /P:AllowUntrustedCertificate=True /P:MSDeployPublishMethod=RemoteAgent /P:CreatePackageOnPublish=True /P:UserName=user /P:Password=password