SonarQube在MSBuild版本上的警告 [英] SonarQube warning on MSBuild version

查看:363
本文介绍了SonarQube在MSBuild版本上的警告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Sonar 5.3服务器,在Jenkins中我在SonarQube Runner 2.2.1.我最近将声纳服务器从 4.5.2 升级到了 5.3 ,但没有触摸Jenkins中的任何内容.

I am using Sonar 5.3 server, and in Jenkins I am at SonarQube Runner 2.2.1. I recently upgraded sonar server from 4.5.2 to 5.3 but did not touch anything in Jenkins.

现在,当我调用SonarQube独立分析时,我已经完成了事情,但是我得到了警告

Now when I am Invoking SonarQube standalone analysis, then I am getting the things done, but I am getting warning

WARN-*使用MSBuild 14获得最佳分析 结果 * 警告-*已弃用MSBuild 12或声纳运行器来分析C#项目*

WARN - * Use MSBuild 14 to get the best analysis results * WARN - * The use of MSBuild 12 or the sonar-runner to analyze C# projects is DEPRECATED *

我只是想知道我应该在这里升级什么?我在运行Sonar Analysis的计算机上安装了MSBuild 14.0.我是否需要将Jenkins中的SonarRunner插件升级到 最新2.3 ?

I just wanted to know what I should upgrade here? I installed MSBuild 14.0 on the machine where Sonar Analysis is running. Do I need to upgrade SonarRunner plugin in Jenkins to latest 2.3???

推荐答案

http://docs.sonarqube.org/display/SONAR/Analyzing+with+SonarQube+Scanner+for+MSBuild

在此站点上您可以阅读到MSBuild 12.0的支持已被弃用. 带有MSBuild 14.0的MSBuild.Runner使用SonarLint做源代码分析.

On this site you can read that the support of MSBuild 12.0 is deprecated. MSBuild.Runner with MSBuild 14.0 use SonarLint do analyse the source code.

这篇关于SonarQube在MSBuild版本上的警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆