首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Sonarqube是否支持Xamarin的代码质量?

Sonarqube是否支持Xamarin的代码质量?
EN

Stack Overflow用户
提问于 2017-05-31 07:49:59
回答 2查看 3.6K关注 0票数 1

我在做一个Xamarin项目。我想用声呐检查代码质量。我看到了对.net/c#项目的支持。我遵循了Xamarin.I的这里指令,我完成了开始和重建的前两个步骤。当我执行第三步“结束”时

SonarQube.Scanner.MSBuild.exe结束

我的错误越来越少

代码语言:javascript
复制
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
EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2017-06-01 13:59:58

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

有一个悬而未决的问题:https://jira.sonarsource.com/browse/SONARMSBRU-319

票数 2
EN

Stack Overflow用户

发布于 2017-12-08 17:01:27

现在SonarQube.Scanner.MSBuild.exe有了对mac的支持,它起作用了。

MSBuild 3.0.2版的声呐不支持非窗口操作系统,现在的SonarQube.Scanner.MSBuild.exe 4.0支持Mac4.0

此外,sonarC#插件必须大于6.6才能在mac版本上运行分析。

请查看下面的链接,https://forums.xamarin.com/discussion/111935/source-code-analysis-for-xamarin-project-with-sonarqube-on-mac/p1?new=1

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/44278774

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档