C# project not analyzing

I am using sonar scanner on Linux system, And I am scanning the C# project. The project is getting scanned successfully but Not able to see errors of .CS files. I searched regarding this and the only solution I found is scan using MsBuild. So is there only one way to scan C# project using MsBuild or We can scan without MsBuild . And If there is only one way then what is the best practice to use MsBuild , Also how could I determine the version conflict of using MSBuild.

Any help will be appreciated.

Thanks in advance.

hi and welcome to our community

  • what versions of SonarScanner for MSBuild are you using?
  • what version of dotnet core are you using?
  • what are the steps you are running?

what do you mean?