Construir e implantar o projeto asp.net mvc usando WebDeploy

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"