Suppress CA1020 too few types in namespace

Also set assemblycomparemode:StrongNameIgnoringVersion so
Microsoft.Build.Async doesn't break code analysis.
This commit is contained in:
Haacked
2013-09-23 11:13:59 -07:00
parent 9062d6df94
commit c123da17c3
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -4,6 +4,7 @@
<Rules AnalyzerId="Microsoft.Analyzers.ManagedCodeAnalysis" RuleNamespace="Microsoft.Rules.Managed">
<Rule Id="CA1006" Action="None" />
<Rule Id="CA1014" Action="None" />
<Rule Id="CA1020" Action="None" />
<Rule Id="CA1056" Action="None" />
<Rule Id="CA1726" Action="None" />
<Rule Id="CA2210" Action="None" />
+1
View File
@@ -21,6 +21,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<RunCodeAnalysis>true</RunCodeAnalysis>
<CodeAnalysisAdditionalOptions> /assemblycomparemode:StrongNameIgnoringVersion</CodeAnalysisAdditionalOptions>
<CodeAnalysisRuleSet>..\Octokit.ruleset</CodeAnalysisRuleSet>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>