VsMetrics

Summary

Contains functionality related to Visual studio's metrics.exe command line tool.

In order to use the commands for this addin, you will need to register metrics.exe in your cake build file after you have installed the metrics power tool:

Setup(context => {
    context.Tools.RegisterFile("C:/Program Files (x86)/Microsoft Visual Studio 14.0/Team Tools/Static Analysis Tools/FxCop/metrics.exe");
});
In addition, you will need to include the following:
#addin Cake.VsMetrics

General

VsMetrics(ICakeContext, IEnumerable<FilePath>, FilePath) Runs metrics.exe against the specified collection of input FilePath, and outputs to specified output FilePath
Addin from Cake.VsMetrics.dll
VsMetrics(ICakeContext, IEnumerable<FilePath>, FilePath, VsMetricsSettings) Runs metrics.exe against the specified collection of input FilePath, and outputs to specified output FilePath with the specified VsMetricsSettings
Addin from Cake.VsMetrics.dll