【问题标题】:fxcop execution failed with return code 515fxcop 执行失败,返回码 515
【发布时间】: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


【解决方案1】:

解决办法是

sonar.fxcop.assemblyDependencyDirectories=/gac  The misssing assemblies path was set to the gac in the sonar-project.properties file and also this line

sonar.dotnet.visualstudio.solution.file=name.sln indicating the solution path.

现在声纳运行器可以工作了。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-06-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-04-02
    • 2020-02-14
    • 2017-12-07
    相关资源
    最近更新 更多