Sonarscanner.msbuild.exe scans VS projects, but JS and CSS files are not included

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    Enterprise edition 9.7

  • what are you trying to achieve
    When the scan is successful, the.js and.css files must be scanned, just like the.cs files.

  • what have you tried so far to achieve this
    I scan the project using Sonarscanner instead of Sonarscanner.msbuild.exe, JS and CSS can be scanned.

Attached is the analysis log.
sonarqube-debug.txt (3.9 MB)

Take a look at the docs (Advanced Topics > Analyzing languages other than C# and VB)