2014-01-13 49 views
0

我已经安装在我的机器上的声纳和声纳亚军试图分析在sonar-runner.properties内容是DOTNET MVC项目:FxCop的执行,并返回代码失败515

# 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文档未能了解更多详情

+1

所以你检查FxCop文档? – ken2k

回答

0

的解决方案是

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. 

现在声纳亚军作品。

相关问题