Sonarlint VS2019 connect to Sonarqube for C++ project

Hi,

  • Operating system: W10 enterprise
  • SonarLint plugin version: 6.9.0.54300
  • Programming language you’re coding in: C++
  • Is connected mode used:
    • Connected to SonarQube 7.4.0.18908

After installing Sonarlint on VS2019, i try to connect to my sonarqube server for an C++ project.
I ve got this message in VS :
The languages supported by plugins on this SonarQube server (C#, VB.NET) do not match any of the solution projects’ languages.

Is my Sonarqube to old ?

Thanks

Hi @FredBuet - welcome to the community.

No, SonarQube v7.4 is not too old.

Which edition of SonarQube are you using? (C/C++ analysis is not available in the Community Edition).

Hi Duncan,
we re using the Enterprise edition with C/C++ option

@FredBuet when connecting to the server, SonarLint will display a list of the detected server plugins in the output window pane e.g.

Which server plugins are reported in your IDE?

The SonarCFamily plugin is installed but seems to be older than require.
installed version ‘5.1.1’ , minimum version ‘6.0’

@FredBuet,

Apologies, your SonarQube server version is too old to support Connected Mode for C++.

It looks like the earliest version that supports Connected Mode for C++ is SonarQube v7.6.
I’ve updated the relevant wiki page.

dear Duncan ,
Thanks for your help. I’ve started to update my sonarqube. First i need to change database (we’ve choosed mysql so …)