This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.VsMetrics.
Summary
Runs metrics.exe against the specified collection of input FilePath, and outputs to specified output FilePath with the specified VsMetricsSettings
Syntax
public static void VsMetrics(this ICakeContext context, IEnumerable<FilePath> inputFilePaths, FilePath outputFilePath, VsMetricsSettings settings)
Examples
var projects = GetFiles("bin/Debug/*.dll");
var settings = new VsMetricsSettings()
{
SuccessFile = true,
IgnoreGeneratedCode = true
};
VsMetrics(projects, "metrics_result.xml", settings);
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
inputFilePaths |
IEnumerable<FilePath> |
The input file paths. |
outputFilePath |
FilePath |
The output file path. |
settings |
VsMetricsSettings |
The settings. |
Return Value