khangcv
khangcv

Reputation: 81

How to use Azure PowerShell script to publish package to web app virtual application in VSO

I see the new Build definitions of Visual Studio Online have not supported 'Azure WebApp Deployment build step' to deploy Virtual Application (Sub site).
So I try on using 'Azure PowerShell build step' but couldn't find out the script.
I also tried this tutorial: https://msdn.microsoft.com/en-us/library/azure/dn642480.aspx?f=255&MSPPError=-2147217396 But stuck in step generate folder called PublishScripts. Because I've already created Azure WebApp and VSO Project, not starting at a blank.

Updated: I've solved by creating & upload a custom tfx build task based on ps msdeploy.exe

Upvotes: 1

Views: 1159

Answers (2)

khangcv
khangcv

Reputation: 81

I've solved by creating & uploading a custom tfx build task based on ps msdeploy.exe

Upvotes: 1

You should use the build in Azure Web Application deployment step.

enter image description here This is by far the easyest method.

Upvotes: 0

Related Questions