'Azure Deployment Source, choose Startup Project to Build

The company I currently work for has a solution with 3 projects.

_Common... which was originally a Web project, but then changed to a Class Library.

Website1... Which is a website

Website2... Completely different website.

In Azure, we have a Deployment configuration so whenever our BitBucket Repo gets a checkin, it should build and deploy the solution.

Unfortunately, it seems like _Common is getting built as the target project. Which is breaking Azure.

ALSO Unfortunately, we have Two DIFFERENT Products (Website1 and Website2) which are in Two Different Azure Apps. They are both looking at the same BitBucket Repo, and both building whenever a checkin happens... but both are building _Common.

Can I have our "Website1" Azure App build the solution with Website1 as the startup project, and have our "Website2" Azure App build the solution with "Website2" As the startup project?

This obviously won't work to set the default project in Github, since we still need two different builds with two different startup projects.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source