MsBuild Command line parameters for teamcity to deploy

5/2/2018 teamcity deployment best-practices ms-build ms-deploy

TeamCity is a great tool for continuous build and deploys tool for your projects. Here are the command line arguments that will come in handy while creating a build step in TeamCity.

Hope this helps some of your time in figuring out correct command line arguments for deployments.

/p:MsDeployServiceUrl=https://'servername or Ip Address':8172/msdeploy.axd
/p:DeployIISAppPath="'IIS Sitename'"

Replace text in single quotes with your details. like 'password' => Pass1234

Let me know if you are stuck, I am happy to help