问题
I have created following Virtual Applications and Directories in the azure portal Click here to view the image
And using visual studio online I can build and deploy the site into root folder but I couldn't figure it out how to deploy into a virtual directory I have created earlier.
Click here to view the image
Any one have experience on this ? Appreciate your thoughts.
回答1:
The Azure Web App Deployment task can't deploy a virtual application as it uses Publish-AzureWebSiteProject which can't handle virtual applications.
You can check the poweshell script which uses WebDeploy to deploy a virtual application at website:https://github.com/Microsoft/vso-agent-tasks/issues/624
来源:https://stackoverflow.com/questions/33208353/publish-web-application-into-azure-web-app-using-visual-studio-online