title: Azure DevOps: 1 Solution Multiple Projects CI/CD
body: <p>I just started setting Azure DevOps with CI/CD. This might not be possible but I hope to find answers.</p>
  
  <p>I have a solution with 6 projects:</p>
  
  <ul>
  <li><strong>Web Api project</strong> (references Infrastructure, Repositories, and Models projects)</li>
  <li><strong>Website project</strong> (calls the Web Api for data and references Infrastructure, Repositories, and Models projects)</li>
  <li><strong>Node.js project</strong> (only calls the Web Api for data)</li>
  <li><strong>Infrastructure project</strong> (shared by Web Api and Website)</li>
  <li><strong>Repositories project</strong> (shared by Web Api and Website)</li>
  <li><strong>Models project</strong> (shared by Web Api and Website)</li>
  </ul>
  
  <p>Before I start searching on how to publish the Web Api, Website, and Node.js projects to their own Azure App Service within the CI/CD definitions:</p>
  
  <p><strong>Is it possible to set it up so that only certain projects are deployed? i.e.: the Node.js project is published only or only the Web Api and Website are published but not the Node.js.</strong></p>
  
  <p>Or do I need to keep things in different solutions?</p>
  
  <p>If I keep them in separate solutions, how does this affect the shared projects (Infrastructure, Repo, and Models) in reference to Source Control (Git)? If I add code to the Models and Repo in the Web Api solution, do I commit these changes not he Web Api Git repo? How does this affect the other projects that reference the same Models and Repo projects? Is this where Git submodules come into play?</p>
  
  <p><strong>Update 1</strong> (2019/3/8)</p>
  
  <p>Looks like I might be able to get this working in 1 solution using <strong>Path filters</strong> (<a href="https://docs.microsoft.com/en-us/azure/devops/pipelines/build/triggers?view=azure-devops" rel="noreferrer">https://docs.microsoft.com/en-us/azure/devops/pipelines/build/triggers?view=azure-devops</a>). Still interested in any further input.</p>