title: Azure continuous deployment for multiple projects
body: <p>I have created an Azure Web Site and connected it to Visual Studio Online, and this automatically set up a continuous deployment build (as per <a href="https://azure.microsoft.com/en-us/documentation/articles/cloud-services-continuous-delivery-use-vso/" rel="nofollow noreferrer">this page</a>).</p>
  
  <p>Initially this worked for a solution with one project, but now I have added a Web API project as a back end. This is named such that it is the first of <a href="https://stackoverflow.com/a/22099969/1880663">the two projects alphabetically</a>, and so now it is the only project that gets built and deployed whenever files are checked in. Which leads to my question:</p>
  
  <h2>How can I modify the default continuous deployment build to deploy both applications?</h2>
  
  <p>I'm sure it must be a fairly simple change to either the build template or parameters, or the publish profiles that are being used by the build. The only problem is I don't know: A) how to change those settings in the default <code>TfvcContinuousDeploymentTemplate.12.xaml</code> build template, and B) how to modify the publish profiles that are used in the continuous deployment build.</p>
  
  <p>I have already, from within Visual Studio, manually published the two projects and got them to deploy to the right locations by following the instructions in <a href="https://stackoverflow.com/a/21346077/1880663">this answer</a>. I right-clicked on each project, clicked publish, then selected the "Microsoft Azure Web Apps" publish target which (after filling in all the settings) added the publish profiles to my projects and allowed me to manually deploy them how I wanted.</p>
  
  <p>Unfortunately there seems to be no way to re-upload those publish profiles so that they can be used in the CD build. I've checked them into source control, I just need to know how I can get the CD build to make use of them. How can I do this?</p>