Template for a good bug report, formatted with Markdown:
versions used (SonarQube, Scanner, Plugin, and any relevant extension)
error observed (wrap logs/code around triple quote ``` for proper formatting)
steps to reproduce
potential workaround
P.S.: use the #bug:fault sub-category if you’re hitting a specific crash/error , or the #bug:fp sub-category for rules-related behaviour
SONARQUBE edition - Enterprise
Version - 8.9 LTS
In our project , we are unable to analyze c# file . Other files are getting analyzed. The above warning we are getting in Azure DevOps pipeline .
But we are using VB, XML python and c#. With stand alone scanner , c# is not getting analyzed but the other two are getting analyzed. When I switch to MS Build, c# is getting analyzed but the other two are not getting.
For newer SDK-style projects (used by .NET Core, .NET 5, and later), the SonarScanner for .NET will analyze all file types that are supported by the available language plugins unless explicitly excluded.
For older-style projects, the scanner will only analyze files that are listed in the .csproj or .vbproj project file…