Problem with sonar.inclusions

Hi Sergio,

Whether it’s for exclusions or inclusions, a good approach to understand what’s going in the following:

In that case, notice from your logs that the analysis base dir already is Application.MainModule, with underlying paths treated relatively from there (see Source paths), and therefore not matching your inclusion setting.

Now playing with sonar.inclusions/sonar.exclusions not always is the most effective approach, especially in cases like Scanner for MSBuild which automatically infer your project structure. In that case, you might rather consider Excluding Artifacts from the Analysis.