SonarCloud - The main branch of this project is empty

Got It !!!
For Sonar my project was a Test Project and Not a main project. So all the cs files was considered as Test-code instead of Main-code. And sonar, do not analyse Test-Code,
I found this after reading my pipeline’s logs and the solution in this topic : .NET project forced into sonar.tests category
regards.
Anthony.

1 Like