如何在声纳中禁用fxcop分析

时间:2015-02-08 08:34:31

标签: sonarqube fxcop

我正在尝试分析.NET项目的代码覆盖率。 这是我的sonar.project文件。

# Project identification
sonar.projectKey=ABC
sonar.projectVersion=trunk
sonar.projectName=ABCD



# Info required for Sonar 
sonar.sources=.
sonar.language=cs
sonar.sourceEncoding=UTF-8
sonar.visualstudio.enable=true
sonar.visualstudio.testProjectPattern=UnitTest



#Core C# Settings
sonar.dotnet.visualstudio.solution.file=./MySample.sln
#sonar.silverlight.4.mscorlib.location=C:/Program Files (x86)/Reference Assemblies/Microsoft/Framework/Silverlight/v5.0
sonar.dotnet.excludeGeneratedCode=true
sonar.dotnet.4.0.sdk.directory=C:/Windows/Microsoft.NET/Framework64/v4.0.30319
sonar.dotnet.version=4.0 

# To prevent any issues while analyzing multiple solutions containing projects with similar keys
# Will be set by default to safe starting at version 2.2: http://jira.codehaus.org/browse/SONARDOTNT-339
sonar.dotnet.key.generation.strategy=safe

sonar.cs.opencover.reportsPaths=C:/openCoverAnalysis/Sample.xml

# FXCop 
sonar.fxcop.mode=skip    
  

sonar.fxcop.mode =跳过

无效。我错过了什么吗?

SonarQube 4.5版

0 个答案:

没有答案