I am trying to get a TFS build work flow to analyse for only C# code.
According to the documentation https://docs.sonarqube.org/display/SONAR/Analysis+Parameters
I need to pass /d:sonar.language
with the name of the language to prevent multi-language analysis. The documentation then links to the plugins page for a selection of languages.
I have tried every permutation I can think of C#, csharp, sonar-csharp etc. but I constantly get an error such as this:
ERROR: Error during SonarQube Scanner execution
ERROR: You must install a plugin that supports the language 'sonar-csharp'
I'm obviously missing a trick somewhere, can anyone point me in the right direction?
We are using:
SonarQube 6.4
SonarQube Scanner for MSbuild - Begin Analysis (new) v2.1.2
TFS 2015