SonarQube Standalone skipping files?

Using the “Classic” .NET Framework Invocation

SonarScanner.MSBuild.exe begin /k:"project-key" /d:sonar.login="myAuthenticationToken" 
MSBuild.exe <path to solution.sln> /t:Rebuild
SonarScanner.MSBuild.exe end /d:sonar.login="myAuthenticationToken"

Some of the c# codes got scanned, some were not. e.g. ExamplePanel.designer.cs did not get scanned, but ExamplePanel.cs did. How can I resolve this issue?

SonarQube - standalone community 7.9.5
SonarScanner - 4.6.2


Hey there.

.designer.cs files, if I understand correctly, are automatically generated files and therefore they are not analyzed. (since you have no power to change the code of generated files themselves, like analyzing 3rd party libraries).

Sounds like everything works as expected.