msbuild Web.csproj `
/p:Configuration=Release `
/p:DeployOnBuild=true `
/p:DeployTarget=MsDeployPublish `
/p:CreatePackageOnPublish=true `
/p:MSDeployPublishMethod=WMSVC `
/p:MsDeployServiceUrl="https://localhost:8172/msdeploy.axd" `
/p:DeployIisAppPath="YourSiteName" `
/p:AllowUntrustedCertificate=true `
/p:Username="Username" `
/p:Password="Password"