MSBuild analyze specific Project in Solution

We have a solution with multiple projects. I want to analyze only one project of them. How is that possible?

hi @danieldaeschle and sorry for the delay.

did you go through the Narrowing the focus docs?

The link you sent me doesn’t work with MSBuild, or?

ok I see now that I haven’t replied on this one. sorry.

You can pass analysis parameters to the Scanner for MSBuild. See https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-msbuild/

/d:<analysis-parameter>=<value> [optional] Specifies an additional SonarQube analysis parameter, you can add this argument multiple times.

For detailed information about all available parameters, see Analysis Parameters.