Unscanned Files

I have an asp.net project, it scanned with two different versions but some files are not scanned.

There files are code-behind files for example, Example.aspx.cs files are not scanning for specific folder.

Scanner does not acting for all folder like this. Some folder scanned properly.

Is there any idea or suggestion for this issue ?

Versions whis is I used

8.6.1.40680 ( community edition ) 
8.7.0.41497 ( developer edition )

hello @selcukyavuz , welcome to this community!

  • what is the version of Scanner for MSBuild you are using?.
  • what are the commands you are running to do the analysis? are you running all commands from the same folder?
  • what is the version of MSBuild you are using?
  • please give us the verbose output of the commands (please run SonarScanner.MSBuild.exe begin <....other params....> /d:sonar.verbose=true as the begin step, and please attach the output of END step)
  • could you please share the .sonarqube\conf\SonarQubeAnalysisConfig.xml and the .sonarqube\conf\sonar-project.properties . Please note that the .sonarqube folder is in the directory you run the analysis from.
1 Like

Thank you for your attention. I solved problem. It was cause of “Analyze generated code” setting.

Solution :

  1. Go to Administrator > General Setting > Languages > C#
  2. Set active “Analyze generated code” setting
1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.