No analysis done when using sonar-scanner-msbuild 4.3.1.1.372 on simple c# project

Hi,

Regarding this

Clearly I was looking at the wrong place in the thread. Some of your followups came to my inbox and others did not.

This part of your debug log is key:

09:23:01.035 DEBUG: 'Properties\AssemblyInfo.cs' indexed as test with language 'cs'
09:23:01.035 DEBUG: 'App.config' indexed as test with language 'null'
09:23:01.035 DEBUG: 'MattTest.cs' indexed as test with language 'cs'
09:23:01.051 DEBUG: 'Program.cs' indexed as test with language 'cs'

I’m guessing you have “test” in your project name; which results in the scanner thinking all your files are test files, not “actual code”. There’s a little more in the docs:

https://docs.sonarqube.org/display/SCAN/Miscellaneous+Advanced+Usages

Ann