SonarCloud does not find any files on Azure DevOps pull request scan

Hi @Ben_Wozniak ,

I am closing this topic as it doesn’t have enough details to derive some actions from it. If you are willing to try again and see the same problem, please open a new topic.

Regarding why not all expected code smells appeared on the PR, there could have been multiple issues, possibly:

  • detection of test projects - there have been some inconsistencies regarding test project detection, read here about some of them; also, in the past releases of the Scanner for .NET (5.1 and 5.2) we fixed them; this month we will deploy a new analyzer version to :sonarcloud: which will close this topic
  • detection of generated code - we fixed some problems there ( #2228), the fix will be shipped in the next release of our .NET analyzers

Thank you,
Andrei

1 Like