简体   繁体   English

使用声纳扫描仪msbuild v2.2在sonarqube 5.6.5中进行C#Project(在Msbuild v12中构建)代码分析

[英]C# Project(build in Msbuild v12) code analysis in sonarqube 5.6.5 using sonar scanner msbuild v2.2

Presently am using the sonarqube v4.5.6 & sonar runner 2.4 to do the analysis for the dotnet code built on the Msbuild v12(VS2013) but now am trying to upgrade sonar (to sonarqube v5.6.5 & sonar scanner for MsBuild v2.2) but am getting failure while i build the project using MsBuild v12(after begin & before end of the Scanner). 目前,我正在使用sonarqube v4.5.6和声纳运行程序2.4对基于Msbuild v12(VS2013)构建的dotnet代码进行分析,但现在正在尝试升级声纳(升级到sonarqube v5.6.5和MsBuild v2.2的声纳扫描仪)但是在我使用MsBuild v12构建项目时却遇到了失败(在开始和结束扫描器之前)。 please suggest me to use the upgraded sonar to work with the MsBuild v12... 请建议我使用升级的声纳与MsBuild v12配合使用...

Please feel free to contact me, if you need further details from me... 如果您需要我的更多详细信息,请随时与我联系...

兼容性文档中所述,用于MSBuild的SonarQube扫描仪不适用于MSBuild12。您需要使用MSBuild 14进行编译,可能需要使用TargetFrameworkVersion属性。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM