Cake.VsMetrics

Cake Addin that extends Cake with the ability to use Visual Studio's metrics.exe

#addin nuget:?package=Cake.VsMetrics&version=0.5.0

<package id="Cake.VsMetrics" version="0.5.0" />

dotnet add package Cake.VsMetrics --version 0.5.0

<PackageReference Include="Cake.VsMetrics" Version="0.5.0" />

Aliases

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 install the metrics power tool (which is currently not included in a Visual Studio installation). Afterwards include the Addin in your cake build script and you are ready to go:

#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
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