- which versions are you using: SonarCloud + Sonarscanner for local development
- what are you trying to achieve: ignore folder (EF migrations) without touching Sonar UIs, just mark the file as “ignore” or configure it in the project file.
- what have you tried so far to achieve this:
Tried this (with different path patterns) - no success, sonar still reports issues like code duplications.
<ItemGroup> <SonarQubeSetting Include="sonar.coverage.exclusions"> <Value>**/Migrations/*</Value> </SonarQubeSetting> </ItemGroup>