VsMetricsAliases Class

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

Assembly
Cake.VsMetrics.dll
Namespace
Cake.VsMetrics
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["VsMetricsAliases"] class Type type-node

Syntax

public static class VsMetricsAliases

Attributes

Type Description
CakeAliasCategoryAttribute

Methods

Name Value Summary
VsMetrics(ICakeContext, IEnumerable<FilePath>, FilePath, VsMetricsSettings) void
Runs metrics.exe against the specified collection of input FilePath, and outputs to specified output FilePath with the specified VsMetricsSettings
static
VsMetrics(ICakeContext, IEnumerable<FilePath>, FilePath) void
Runs metrics.exe against the specified collection of input FilePath, and outputs to specified output FilePath
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin