The main branch has no lines of code

same here:


https://sonarcloud.io/dashboard?id=vip32_Naos
only two files get scanned

and here:


https://sonarcloud.io/dashboard?id=vip32_Naos.Sample
nothing :frowning:

Welcome to the community!

Your first post was in a thread which doesn’t seem related to your issue, so I moved it.

Can you please clarify what is the issue you would like help with?

How do you scan your project. Are you hooking into msbuild. This is needed for c#. Also, do you build an sln or from csproj. If you build from csproj you need to add a guid to the csproj file. A script to add them from build using powershell is hosted here. https://github.com/ikemtz/NRSRx/blob/master/sonarqube-create-project-guids.ps1
The script works from where the file is saved so you need to change this in the script code if this doesn’t work for you.