title: How to exclude a project from build solution step on Azure DevOps Pipeline
body: <p>I have a .NET multi project solution like this:</p>
  <ul>
  <li>Solution
  <ul>
  <li>Project1</li>
  <li>Project2</li>
  <li>Project4</li>
  </ul>
  </li>
  </ul>
  <p>I have this solution on our DevOps environment and I created a pipeline that will analyze it using SonarQube (sonar cloud). This pipeline contains the following steps:</p>
  <ul>
  <li>SonarQube Analysis
  <ul>
  <li>Use NuGet 4.4.1</li>
  <li>NuGet restore</li>
  <li>Prepare analysis on SonarQube</li>
  <li>Build Solution</li>
  <li>Test Assemblies</li>
  <li>Run Code Analysis</li>
  <li>Publish Quality Gate Result</li>
  </ul>
  </li>
  </ul>
  <p>My issue is on the Build Solution step. Some of my projects are reports or sql projects that I want to exclude from this step that are indeed making the build to fail. I have been looking around the internet and tried a couple of things like:</p>
  <ol>
  <li><p>Creating a new configuration in the solution that has some projects set not to build</p>
  </li>
  <li><p>Adding &quot;-target:Project1;Project2;&quot; (this caused an error on the pipeline)</p>
  </li>
  </ol>
  <p>I have tried many other things on my end that are not necessarily documented with no luck. Have anyone successfully configured Build Solution inside SonarQube analysis to exclude certain projects from a .NET solution?</p>