SonarQube is not reading a single C# file

Hi,

Welcome to the community!

At a guess, you’re not using the SonarScanner for .NET, are you? If you were, I think you’d be complaining that your C# files are analyzed but not your JS &etc.

For you, the trick to getting everything in one go is to is to start with the SonarScanner for .NET, and then make sure a project references all the other files. I’ve had success before with syntax like this in a .csproj file:

<ItemGroup>
  <Content Include="src\**\*.js"/>

 
HTH,
Ann