Deploy a Web App from a Solution which has Multiple Web Projects

When we use a Deploy from Source option in Azure, it's very convenience. But if our solution has multiple web projects, which project should be deploy to a web app? We can specify the web project which has to be deployed easily by set a value of Project key in Application settings. Just add a key name Project to the App settings section whose value is the path from the repository to our project. For example:

Project: MySolution/src/MyWebProj

After add that key the configuration page in Azure should look like this.
Project Setting

If it's the ASP.NET Core project, the Project value should contains only path to the directory which contains the web project. But for previous version of ASP.NET web project, the value should be the path to the .csproj file.

results matching ""

    No results matching ""