c# - Sonarqube 是否支持 Xamarin 的代码质量?

标签 c# msbuild xamarin.ios sonarqube

我正在处理一个 Xamarin 项目。我想用 sonarqube 检查代码质量。我看到有对 .net/c# 项目的支持。我已按照说明 here 进行操作对于 Xamarin.I 能够执行开始和重建的前两个步骤。当我执行第三步“结束”

SonarQube.Scanner.MSBuild.exe end

我遇到了错误

mono /Users/apple/Downloads/sonar-scanner-msbuild-2.3.2.573/SonarQube.Scanner.MSBuild.exe end
SonarQube Scanner for MSBuild 2.3.2
Default properties file was found at /Users/apple/Downloads/sonar-scanner-msbuild-2.3.2.573/SonarQube.Analysis.xml
Loading analysis properties from /Users/apple/Downloads/sonar-scanner-msbuild-2.3.2.573/SonarQube.Analysis.xml
Post-processing started.
SONAR_SCANNER_OPTS is not configured. Setting it to the default value of -Xmx1024m
Calling the SonarQube Scanner...
Execution failed. The specified executable does not exist: /Users/apple/Downloads/sonar-scanner-msbuild-2.3.2.573/sonar-scanner-3.0.3.778\bin\sonar-scanner.bat
The SonarQube Scanner did not complete successfully
13:17:17.361  Creating a summary markdown file...
13:17:17.366  Post-processing failed. Exit code: 1

最佳答案

目前不支持在非 Windows 平台上使用扫描仪。

有一个 Unresolved 问题:https://jira.sonarsource.com/browse/SONARMSBRU-319

关于c# - Sonarqube 是否支持 Xamarin 的代码质量?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44278774/

相关文章:

build - VS2012 自定义构建步骤 - 将输出视为内容

c# - 从命令行完全构建 Monotouch 应用程序包的完整步骤集是什么?

c# - 在扩展方法中使用 await 运算符时是否需要考虑可能的重入编码问题?

c# - 无法在 Bootstrap 的 select2 插件中设置选定值

c# - 使用 LINQ 管理 null

c# - Peta Poco where 子句

.net - Visual Studio 2013 中的 objective-c PU 和平台有什么区别?

msbuild - teamcity building project 无法启动 MSBuild.exe。路径中的非法字符

xamarin.ios - Xamarin Mobile - 共享 PCL 中特定于平台的程序集?

ios - 项目无法在 iPhone 上运行,而在模拟器上运行良好