You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SonarQube scanner doesn't support .NET 5.0+ according to warning message from execution log: WARN: Your project contains C# files which cannot be analyzed with the scanner you are using. To analyze C# or VB.NET, you must use the SonarScanner for .NET 5.x or higher, see https://redirect.sonarsource.com/doc/install-configure-scanner-msbuild.html
When using SonarScanner for MSBuild tool the analysis works fine. However, the results of the analysis are not added as a tab in the Build results page.
Is there a way to solve this? And is there a version for the SonarQube scanner tool planned that will support .NET 5.0+ because frankly that seems to be the simplest use case.
Versions used:
SonarScanner for MSBuild=5.5.3.43281-net46
SonarQube Scanner=4.7.0.2747
TeamCity Enterprise=2020.2.3 (build 86002)
SonarQube Server=9.4 (build 54424) Community Edition
The text was updated successfully, but these errors were encountered:
Hi, it looks like you are using the version of SonarScanner for MSBuild incompatible with .NET 5.0+. You will need to download the compatible version of the tool from SonarQube's website and add it to TeamCity.
Extract the sonar-scanner-cli-XXXX.jar file from the downloaded file. It is located under sonar-scanner-msbuild-YYYY-net5.0.zip/sonar-scanner-XXXX/lib.
Go to TeamCity > Administration > Tools > SonarQube Scanner > Install versions ... > upload the extracted sonar-scanner-cli-XXXX.jar file.
If necessary, make the uploaded tool version default.
The SonarQube scanner doesn't support .NET 5.0+ according to warning message from execution log:
WARN: Your project contains C# files which cannot be analyzed with the scanner you are using. To analyze C# or VB.NET, you must use the SonarScanner for .NET 5.x or higher, see https://redirect.sonarsource.com/doc/install-configure-scanner-msbuild.html
When using SonarScanner for MSBuild tool the analysis works fine. However, the results of the analysis are not added as a tab in the Build results page.
Is there a way to solve this? And is there a version for the SonarQube scanner tool planned that will support .NET 5.0+ because frankly that seems to be the simplest use case.
Versions used:
SonarScanner for MSBuild=5.5.3.43281-net46
SonarQube Scanner=4.7.0.2747
TeamCity Enterprise=2020.2.3 (build 86002)
SonarQube Server=9.4 (build 54424) Community Edition
The text was updated successfully, but these errors were encountered: