我在teamcity中运行了一个C#构建,其中包括一个使用Sonar分析代码的步骤。
但是,我总是在声纳构建日志中收到警告。
INFO - SonarAnalyzer.Scanner needs to be executed: true
***********************************************************************************
WARN - * Use MSBuild 14 to get the best analysis results *
WARN - * The use of MSBuild 12 or the sonar-scanner to analyze C# projects is DEPRECATED *
WARN - ***********************************************************************************现在我知道该项目没有使用MSBuild 12,代码片段中的第一行表明问题是因为使用了sonar-scanner。
如何避免使用声纳扫描仪,而使用MSBuild 14?
以下是我的软件的版本:
Teamcity version 10.0.4
SonarQube version 6.2
Sonar C# plugin version 5.5.2.537
sonar-plugin for teamcity compiled from source as of 4th Jan 2017TeamCity声纳插件是否只使用声纳扫描器,或者是其他我可以改变的东西?
https://stackoverflow.com/questions/41482199
复制相似问题