SonarQube skipping analysis during performing analysis for multi language (.Net & Angular JS)

Error:

SonarQube skipping analysis during performing analysis for multi-language (.Net & Angular JS) on a Linux machine
Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    Sonar 9.2.4
  • what are you trying to achieve
    Trying to run multi-language analysis (.Net and Angular JS) on a Linux machine
  • what have you tried so far to achieve this
    Added sonar. inclusions set directly referencing to.Net and Angular JS folders

It’s reading and publishing results only for one language and skipping the other.

Please provide a solution to run .Net and Angular JS code on a Linux Redhat machine.

Hi,

According to the docs, this should happen automatically “[f]or newer SDK-style projects (used by .NET Core, .NET 5, and later)”. For older-style projects, you’ll need to list the files explicitly in a project file, e.g. with

<Content Include="foo\bar\*.js" />

 
HTH,
Ann

Hi,

We are using .NET5. So we are not deviating from the standard needed and it should include the scan without explicit file specification.
Do we need to add any additional arguments ( like sonar inclusions etc ) during sonar runner invoke?

Hi @apantham,

Could you share the verbose logs for the end step please? (to get verbose logs, add /d:"sonar.verbose=true" to the SonarScanner.MSBuild.exe or dotnet sonarscanner begin command).

Thanks.