Is it possible to use Web Deploy from Visual Studio Online?

96 Views Asked by At

I would like to build in Visual Studio Online and then Web Publish to Amazon.

Is this possible? Or does it only publish to Azure?

2

There are 2 best solutions below

3
Ian Warburton On BEST ANSWER

I ran MSBuild with the following parameters added...

/P:DeployOnBuild=True
/P:DeployTarget=MSDeployPublish
/P:DeployIISAppPath=MyWebsite
/P:AllowUntrustedCertificate=True
/P:MSDeployPublishMethod=WMSvc
/P:CreatePackageOnPublish=True
/P:MsDeployServiceUrl=https://DOMAIN/MsDeploy.axd
/P:UserName=User1
/P:Password=******
1
MrHinsh - Martin Hinshelwood On

It publishes to wherever you like.

Use the PowerShell, Batch, or ShellScript task to deploy to whatever system you like in whatever way that you want.

Better yet, create a professional release pipeline with release management and deploy to many environments.