C# 0 files indexed

Using SonarQube (Community edition) plugin for VSTS to analyse .NET solution file.
SonarScanner for MSBuild 4.6.2
SonarQube Scanner
SonarQube server 7.8.0

The Run Code Analysis Task in VSTS shows below. As 0 files index no report getting generated in SonarQube. Please help.
INFO: Indexing files…

INFO: Project configuration:

INFO: Indexing files of module ‘DMI.XIP.wData’

INFO: Base dir: D:\a\1\s\DMI.XIP\DMI.XIP.wData

INFO: Source paths: APILog.cs, Asset.cs, AssetBinaryData.cs, AssetCategory.cs, As…

INFO: Indexing files of module ‘TestSonarScanner’

INFO: Base dir: D:\a\1\s

INFO: 0 files indexed

Hi @dhsoni,

Is this the same issue as this one, or something different? If they are the same, please close one of the threads.


Hi @duncanp

Yes same issue, i have deleted the other one.
I have found teh solution, need to set sonar.scm.exclusions.disabled=true when running the SonarQube analysis.


1 Like