Skip to content

Commit

Permalink
Merge 7628ebd into 590ce0d
Browse files Browse the repository at this point in the history
  • Loading branch information
jricke committed Jul 22, 2015
2 parents 590ce0d + 7628ebd commit b6bb29f
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion Source/MSBuild.Community.Tasks/FxCop.cs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,15 @@ public ITaskItem[] Rules
{
get { return _rules; }
set { _rules = value; }
}
}

/// <summary>
/// Gets or sets the rule set.
/// </summary>
/// <value>
/// The rule set.
/// </value>
public string RuleSet { get; set; }

private string _analysisReportFileName;

Expand Down Expand Up @@ -484,6 +492,11 @@ protected override string GenerateCommandLineCommands()
}
}

if (!string.IsNullOrEmpty(RuleSet))
{
_programArguments.AppendFormat("/ruleset:{0} ", RuleSet);
}

if (IncludeSummaryReport)
{
_programArguments.Append("/s ");
Expand Down

0 comments on commit b6bb29f

Please sign in to comment.