VsMetricsAliases.

VsMetrics(ICakeContext, IEnumerable<FilePath>, FilePath) Method

Summary

Runs metrics.exe against the specified collection of input FilePath, and outputs to specified output FilePath
Assembly
Cake.VsMetrics.dll
Namespace
Cake.VsMetrics
Containing Type
VsMetricsAliases

Syntax

public static void VsMetrics(this ICakeContext context, IEnumerable<FilePath> inputFilePaths, FilePath outputFilePath)

Examples

var projects = GetFiles("bin/Debug/*.dll");
VsMetrics(projects, "metrics_result.xml");

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.

Return Value

Type Description
void