2017-09-22 80 views
0

我們試圖在Visual Studio 2015上使用SonarLint,而我們的Sonarqube版本是4.5.7。SonarLint for Visual Studio失敗404(未找到)錯誤

但它沒有約束力,因爲下面的錯誤及其SophisWebApi聲納服務器:

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#

我想這是版本不兼容的問題。有人可以分享哪個版本的SonarLint與Sonarqube版本兼容是4.5.7。這將是真的,如果版本兼容性細節都保持的地方,以免混淆(在SonarLint for EclipseSonarLint for IntelliJ IDEA情況下,這些信息是在新聞部分找到其中發行歷史得以保持。保持至少這甚至SonarLint for Visual Studio多少會有所幫助)

+2

SonarQube 4.5.7真的很舊,你將無法使用SonarLint這個版本。 最新的LTS版本是5.6.6,下一個LTS版本計劃在幾個月內發佈。 爲了使用SonarLint,您必須升級到最新的LTS。 –

+0

感謝Eric,您的快速回復。我們知道SonarQube 4.5.7真的很老,但是等待6.x LTS發佈,以簡化我們的升級活動,因爲許多用戶正在使用它。但是有沒有早期版本的SonarLint支持SonarQube 4.5.7(一個LTS版本較少比當前LTS) – Coc

+1

不幸的是,我不這麼認爲。 SonarQube 4.5.x系列不包含使用SonarLint所需的API。 –

回答

1

只需添加我的答案而不是評論:

SonarQube 4.5.x不包含使用SonarLint所需的API。您應該使用SonarQube 5.6.x(最後的LTS版本)或者下一個6.7版本,它將在幾個月內發佈。