Search code examples
visual-studio-2015sonarqubesonarlintsonarlint-vs

SonarLint for Visual Studio failing with 404 (Not Found) error


We are trying to use SonarLint on Visual studio 2015 and our Sonarqube version is 4.5.7.

But it is not binding its SophisWebApi to sonar server because of below error :

Binding solution to SonarQube project: Download quality profile(s): SonarQube request failed: Response status code does not indicate success: 404 (Not Found). Cannot download the quality profile for language C#

I guess this is version incompatibility issue. Can someone pls share which version of SonarLint is compatible with Sonarqube version is 4.5.7. It will be really if version compatibility details are maintained somewhere to avoid confusions (in case of SonarLint for Eclipse and SonarLint for IntelliJ IDEA this information is available in News section where Release history is maintained. Maintaining at least this much even for SonarLint for Visual Studio would help)


Solution

  • Just adding my answer in instead of a comment :

    SonarQube 4.5.x does not contains the API required to use SonarLint. You should use SonarQube 5.6.x (last LTS version) or the next one 6.7 that will be released in a couple of months.