I have a simple project structure in my Git repository.
[repo]
- api (Contains a .NET WebApi application)
- client
- dist (Contains a static html/js website using AngularJS)
I set up continuous deployment from Bitbucket for the api directory to an Azure Website without any glitches. I set up an App Setting named project and set the value to api/ProjectName.csproj and it works great.
I created a separate Azure website and tried to set up continuous deployment the same way for the static website, but it doesn't work. I created an App Setting named project with the value client/dist.
When it attempts to deploy, I get the following error message in the error log.
Unable to determine which solution file to build. C:\DWASFiles\Sites\flighty\VirtualDirectory0\site\repository\MyProject.sln, C:\DWASFiles\Sites\flighty\VirtualDirectory0\site\repository\client\components\moment-datepicker\MomentDatepicker.sln.