I am currently uploading my asp.net c# source code to my company’s on-prem instance of SonarQube. My company currently has Version 6.7.3 (build 38370) installed. We are uploading the code via a TFS build project using SonarQube.Scanner.MSBuild.exe. The log file says “SonarScanner for MSBuild 4.1.1” and INFO: SonarQube Scanner 220.127.116.111
My code does get uploaded and my projects are analyzed successfully. But, I am noticing that some of my files are not being shown in the Code tab when I login to see what issues have come up. I cannot figure out if these specific files are not being analyzed or if they are excluded somehow. To show some proof, I have screen shots of my solution explorer and of the sonarqube code page where all the files should show up.
If you see these screen shots, you will see that Solution Explorer screen shot shows 31 files and the SonarQube Code Page screen shot only shows 22 files. Some how some of the files are missing or are not being analyzed. For example, UserDtls.aspx.cs is missing from the SonarQube page.
I have looked at the TFS Build logs. It shows all of the files in the “INFO: Source paths:”. So at this point, I am not sure where the issue could be.
Could you please help me trouble shoot this issue?