【发布时间】:2014-02-01 06:15:37
【问题描述】:
我已经在我的机器上安装了 sonar 和 sonar runner,试图在 sonar-runner.properties 中分析一个 dotnet mvc 项目,内容是:
# Required metadata
sonar.projectKey=Test:TwitterWithAOP1
sonar.projectVersion=trunk
sonar.projectName=TwitterWithAOP
# Paths to source directories.
# Paths are relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
# Do not put the "sonar-project.properties" file in the same directory with the source code.# (i.e. never set the "sonar.sources" property to ".")
sonar.sources=C:/Users/barumugham/Documents/Visual Studio 2013/Projects/TwitterWithAOP/TwitterWithAOP
sonar.language=cs
# Encoding of the source
codesonar.sourceEncoding=UTF-8
# Additional parameters
sonar.my.property=value
sonar.fxcop.installDirectory=C:/Program Files (x86)/Microsoft FxCop 1.36
sonar.fxcop.assemblyDependencyDirectories=C:/Users/barumugham/Documents/Visual Studio 2013/Projects/TwitterWithAOP/TwitterWithAOP/bin/
我的执行显示 fxcop 执行失败,返回代码 515。请查看 fxcop 文档了解更多详细信息
【问题讨论】:
-
所以你检查了 FxCop 文档?
标签: .net sonarqube fxcop sonar-runner