Build and deploy asp.net mvc project using 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"
Written by Abdrashitov Vadim
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Mvc
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#