How to deploy an Azure site using a virtual application using VSO Continuous Deployment

I have a Microsoft Azure website and a virtual application running under it that I configured. I can successfully deploy both the main web application and the virtual application by right-clicking on each project and selecting publication. The main web application is deployed at the root of the site, and my virtual application is deployed in its subdirectory (in this case / Api).

We keep our code under source control in Visual Studio Online, which you can connect to the Azure website for continuous deployment. However, when I run the build for a virtual application (Api), it deploys it to the root directory of the site, not to / Api.

I have a few more cloud services and websites that use CDs already. This is the part of the virtual application that is causing me problems.

+4
source share
1 answer

An embedded deployment deploys only one application. In this case, your site.

To deploy multiple applications, you need to use DefaultTemplate.12.xaml and create PowerShell for deployment at the post-test script stage.

This issue will be fixed by the new build system developed by MSFT ...

+1
source

All Articles