我正在使用 dot net 4.6.1 和 dnx Rc1 Update 1,因此我的项目扩展名为 webapplication1.xproj。
当我尝试执行 Sonar 运行程序时,我将此项目设置为“跳过”。在最后一步,获取此信息:
MSBuild SonarQube Runner Bootstrapper 1.0.2.0
Default properties file was found at C:\adid\MSBuild.SonarQube.Runner- 1.0.2\Sona
rQube.Analysis.xml
Loading analysis properties from C:\adid\MSBuild.SonarQube.Runner- 1.0.2\SonarQub
e.Analysis.xml
Post-processing started.
MSBuild SonarQube Runner Post-processor 1.0.2.0
No analysable projects were found. SonarQube analysis will not be performed. Check the build summary report for details.
生成 Sonar 属性文件失败。无法完成 Sonar Qube 分析。 20:35:04.487 创建摘要 Markdown 文件... 后处理失败。退出代码:1
构建日志的详细信息如下:
最佳答案
SonarQube Scanner for MSBuild 尚不支持此类项目,但有一张票可以添加其支持:https://jira.sonarsource.com/browse/SONARMSBRU-167
关于msbuild - DNP 项目的 Sonarqube 分析,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34299309/