I have a package and deploy configuration. I am using the following to execute the package and deploy from teamcity build agent.
msbuild with follwoing parameters on a 4.0 framework
/M /P:Configuration=%env.Configuration% /P:DeployOnBuild=True /P:DeployTarget=MSDeployPublish /P:MsDeployServiceUrl=%env.TargetServer%/MsDeployAgentService /P:MSDeployPublishMethod=RemoteAgent /P:CreatePackageOnPublish=True /P:Username=%env.username% /P:Password=%env.password%
It is not packaging and deploying on the destination server. Build is successfukl after it building the project but actually it is not executingthe web deploy command. Any idea what I am missing here. How it actually owrks on teamcity. as it is working fine if i do it from a command prompt