0

I have more than one web api projects in a single solution file, but when I configure it for continuous integration and automatic deployment it has to be against each project to different web site.

I have created a publish file and provided those details in the MS Builds Build definition file, still it's not taking the specific project to the correct web site.

davejal
  • 6,009
  • 10
  • 39
  • 82
  • Can you check this solution - http://stackoverflow.com/questions/34688681/azure-web-app-multiple-apps-hosting/34691297#34691297. let me know if it doesn't work. – ramiramilu Jan 25 '16 at 11:05

1 Answers1

0

In order to specify a particular folder from a github etc deployment you can set an environment variable (App Setting) of Project. so if you have a WebAPI1 and WebAPI2 folder, you can create an APP setting

Project = WebAPI1  

This will make kudu deploy the correct project.

See the kudu documentation for more information - Customizing deployments

Michael B
  • 11,887
  • 6
  • 38
  • 74
  • can you explain me how to define the build definitions especially how to map the solution file and project files. – user5836598 Feb 01 '16 at 04:36