-
Notifications
You must be signed in to change notification settings - Fork 0
/
FhemDotNet.FxCop
125 lines (125 loc) · 6.38 KB
/
FhemDotNet.FxCop
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<?xml version="1.0" encoding="utf-8"?>
<FxCopProject Version="1.35" Name="My FxCop Project">
<ProjectOptions>
<SharedProject>True</SharedProject>
<Stylesheet Apply="False">http://www.gotdotnet.com/team/fxcop//xsl/1.35/FxCopReport.xsl</Stylesheet>
<SaveMessages>
<Project Status="Active, Excluded" NewOnly="False" />
<Report Status="Active" NewOnly="False" />
</SaveMessages>
<ProjectFile Compress="True" DefaultTargetCheck="True" DefaultRuleCheck="True" SaveByRuleGroup="" Deterministic="True" />
<EnableMultithreadedLoad>True</EnableMultithreadedLoad>
<EnableMultithreadedAnalysis>True</EnableMultithreadedAnalysis>
<SourceLookup>True</SourceLookup>
<AnalysisExceptionsThreshold>10</AnalysisExceptionsThreshold>
<RuleExceptionsThreshold>1</RuleExceptionsThreshold>
<Spelling Locale="en-us" />
<VersionAware>False</VersionAware>
<OverrideRuleVisibilities>False</OverrideRuleVisibilities>
<CustomDictionaries SearchFxCopDir="True" SearchUserProfile="True" SearchProjectDir="True" />
<SearchGlobalAssemblyCache>False</SearchGlobalAssemblyCache>
<DeadlockDetectionTimeout>120</DeadlockDetectionTimeout>
</ProjectOptions>
<Targets>
<Target Name="$(ProjectDir)/src/FhemDotNet.CrossCutting/bin/Debug/FhemDotNet.CrossCutting.dll" Analyze="True" AnalyzeAllChildren="True" />
<Target Name="$(ProjectDir)/src/FhemDotNet.Domain/bin/Debug/FhemDotNet.Domain.dll" Analyze="True" AnalyzeAllChildren="True" />
<Target Name="$(ProjectDir)/src/FhemDotNet.UI/bin/FhemDotNet.UI.dll" Analyze="True" AnalyzeAllChildren="True" />
<Target Name="$(ProjectDir)/tests/FhemDotNet.spec/bin/Debug/FhemDotNet.UI.spec.dll" Analyze="True" AnalyzeAllChildren="True" />
<Target Name="$(ProjectDir)/tests/FhemDotNet.Tests/bin/Debug/FhemDotNet.Tests.dll" Analyze="True" AnalyzeAllChildren="True" />
</Targets>
<Rules>
<RuleFiles>
<RuleFile Name="$(FxCopDir)\Rules\DesignRules.dll" Enabled="True" AllRulesEnabled="True" />
<RuleFile Name="$(FxCopDir)\Rules\GlobalizationRules.dll" Enabled="True" AllRulesEnabled="True" />
<RuleFile Name="$(FxCopDir)\Rules\InteroperabilityRules.dll" Enabled="True" AllRulesEnabled="True" />
<RuleFile Name="$(FxCopDir)\Rules\MobilityRules.dll" Enabled="True" AllRulesEnabled="True" />
<RuleFile Name="$(FxCopDir)\Rules\NamingRules.dll" Enabled="True" AllRulesEnabled="True" />
<RuleFile Name="$(FxCopDir)\Rules\PerformanceRules.dll" Enabled="True" AllRulesEnabled="True" />
<RuleFile Name="$(FxCopDir)\Rules\PortabilityRules.dll" Enabled="True" AllRulesEnabled="True" />
<RuleFile Name="$(FxCopDir)\Rules\SecurityRules.dll" Enabled="True" AllRulesEnabled="True" />
<RuleFile Name="$(FxCopDir)\Rules\UsageRules.dll" Enabled="True" AllRulesEnabled="True" />
</RuleFiles>
<Groups />
<Settings />
</Rules>
<FxCopReport Version="1.35">
<Namespaces>
<Namespace Name="FhemDotNet.CrossCutting">
<Messages>
<Message TypeName="AvoidNamespacesWithFewTypes" Category="Microsoft.Design" CheckId="CA1020" Created="2011-04-12 16:51:19Z">
<Issue>
<Item>FhemDotNet.CrossCutting</Item>
</Issue>
</Message>
<Message Id="CrossCutting" TypeName="CompoundWordsShouldBeCasedCorrectly" Category="Microsoft.Naming" CheckId="CA1702" Created="2011-04-12 16:51:19Z">
<Issue Name="ShouldBeDiscreteTerm">
<Item>CrossCutting</Item>
<Item>namespace</Item>
<Item>FhemDotNet.CrossCutting</Item>
<Item>Crosscutting</Item>
</Issue>
</Message>
</Messages>
</Namespace>
<Namespace Name="FhemDotNet.CrossCutting.Validation">
<Messages>
<Message TypeName="AvoidNamespacesWithFewTypes" Category="Microsoft.Design" CheckId="CA1020" Created="2011-04-12 16:51:19Z">
<Issue>
<Item>FhemDotNet.CrossCutting.Validation</Item>
</Issue>
</Message>
<Message Id="CrossCutting" TypeName="CompoundWordsShouldBeCasedCorrectly" Category="Microsoft.Naming" CheckId="CA1702" Created="2011-04-12 16:51:19Z">
<Issue Name="ShouldBeDiscreteTerm">
<Item>CrossCutting</Item>
<Item>namespace</Item>
<Item>FhemDotNet.CrossCutting.Validation</Item>
<Item>Crosscutting</Item>
</Issue>
</Message>
</Messages>
</Namespace>
</Namespaces>
<Targets>
<Target Name="$(ProjectDir)/tests/FhemDotNet.spec/bin/Debug/FhemDotNet.UI.spec.dll">
<Modules>
<Module Name="fhemdotnet.ui.spec.dll">
<Messages>
<Message TypeName="AssembliesShouldDeclareMinimumSecurity" Category="Microsoft.Usage" CheckId="CA2209" Created="2011-04-12 21:26:24Z">
<Issue>
<Item>FhemDotNet.UI.spec</Item>
</Issue>
</Message>
<Message TypeName="AssembliesShouldHaveValidStrongNames" Category="Microsoft.Design" CheckId="CA2210" Created="2011-04-12 21:26:24Z">
<Issue Name="NoStrongName">
<Item>FhemDotNet.UI.spec</Item>
</Issue>
</Message>
<Message TypeName="MarkAssembliesWithClsCompliant" Category="Microsoft.Design" CheckId="CA1014" Created="2011-04-12 21:26:24Z">
<Issue Name="NoAttr">
<Item>FhemDotNet.UI.spec</Item>
</Issue>
</Message>
</Messages>
</Module>
</Modules>
</Target>
</Targets>
<Rules>
<Rule TypeName="AssembliesShouldDeclareMinimumSecurity" Category="Microsoft.Usage" CheckId="CA2209">
<Resolution Name="Default">No valid permission requests were found for assembly '{0}'. You should always specify the minimum security permissions using SecurityAction.RequestMinimum.</Resolution>
</Rule>
<Rule TypeName="AssembliesShouldHaveValidStrongNames" Category="Microsoft.Design" CheckId="CA2210">
<Resolution Name="NoStrongName">Sign '{0}' with a strong name key.</Resolution>
</Rule>
<Rule TypeName="AvoidNamespacesWithFewTypes" Category="Microsoft.Design" CheckId="CA1020">
<Resolution Name="Default">Consider merging the types defined in '{0}' with another namespace.</Resolution>
</Rule>
<Rule TypeName="CompoundWordsShouldBeCasedCorrectly" Category="Microsoft.Naming" CheckId="CA1702">
<Resolution Name="ShouldBeDiscreteTerm">The compound word '{0}' in {1} '{2}' exists as a discrete term. If your usage is intended to be single word, case it as '{3}'.</Resolution>
</Rule>
<Rule TypeName="MarkAssembliesWithClsCompliant" Category="Microsoft.Design" CheckId="CA1014">
<Resolution Name="NoAttr">'{0}' should be marked with CLSCompliantAttribute and its value should be true.</Resolution>
</Rule>
</Rules>
</FxCopReport>
</FxCopProject>