Cs file is not indexed and was probably excluded

Hello,

I am using sonar-scanner-msbuild-4.6.1.2049-net46 to do the code coverage.
I have created the xml file successfully from visual studio 2017 enterprise version.
running from the IDE code coverage, I can see 50% code coverage.

however, running with sonarscanner.msbuild, I got the zero percentage coverage.
there is no error message, but I saw lots of debug issue below:

DEBUG: Ignoring issue on file ‘C:\Users\HOME\mycode.cs’ that is not indexed and was probably excluded

is there a way to get the code indexed? I guess it can fix the problem?

thanks