Sonarqube does not parse .cs files (C#/.Net)

Good Morning!
I use sonarqube Community Edition, version 8.9.7 .
I’m integrating some projects from gitlab to sonarqube. I configured gitlab through ALM Integrations and when I add the projects it already shows all the projects linked to my account. So far so good, I managed to add several projects that use javascript and some other languages.
But when adding dotnet projects it gets the message “The main branch of this project is empty.” And the error taken from the CI/CD job in gitlab is “WARN: Your project contains C# files which cannot be analyzed with the scanner you are using. To analyze C# or VB.NET, you must use the SonarScanner for .NET 5.x or higher”.
I would like to know if it is possible to analyze these projects by integrating with gitlab or if it is possible only by Jenkins or manually adding to the project.

Hey there.

Just make sure you follow the tutorial in the UI for a new project with GitLab CI > .NET

This will guide you for using the SonarScanner for .NET, as the logs mention is required for analyzing C#/.NET code.