File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ type FxCopParams =
27
27
RuleLibraries : string seq
28
28
Rules : string seq
29
29
CustomRuleset : string
30
+ IgnoreGeneratedCode : bool
30
31
ConsoleXslFileName : string
31
32
ReportFileName : string
32
33
OutputXslFileName : string
@@ -63,6 +64,7 @@ let FxCopDefaults =
63
64
RuleLibraries = Seq.empty
64
65
Rules = Seq.empty
65
66
CustomRuleset = String.Empty
67
+ IgnoreGeneratedCode = false
66
68
ConsoleXslFileName = String.Empty
67
69
ReportFileName = currentDirectory @@ " FXCopResults.html"
68
70
OutputXslFileName = String.Empty
@@ -112,6 +114,7 @@ let FxCop setParams (assemblies : string seq) =
112
114
for item in param.RuleLibraries do
113
115
appendFormat " /r:\" {0}\" " ( param.ToolPath @@ " Rules" @@ item)
114
116
appendItems " /rid:{0} " param.Rules
117
+ append param.IgnoreGeneratedCode " /ignoregeneratedcode "
115
118
append param.IncludeSummaryReport " /s "
116
119
appendFormat " /t:{0} " ( separated " ," param.TypeList)
117
120
append param.SaveResultsInProjectFile " /u "
You can’t perform that action at this time.
0 commit comments