NuGetMSBuildVersion Enum

Summary

NuGet MSBuild version.
Namespace
Cake.Common.Tools.NuGet
Interfaces
  • IComparable
  • ISpanFormattable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["ISpanFormattable"] Type-.->Interface2["IFormattable"] Type-.->Interface3["IConvertible"] Type["NuGetMSBuildVersion"] class Type type-node

Syntax

public enum NuGetMSBuildVersion

Fields

Name Constant Value Summary
MSBuild12 12
MSBuildVersion : 12
static
MSBuild14 14
MSBuildVersion : 14
static
MSBuild15_1 1501
MSBuildVersion : 15.1
static
MSBuild15_3 1503
MSBuildVersion : 15.3
static
MSBuild15_4 1504
MSBuildVersion : 15.4
static
MSBuild15_5 1505
MSBuildVersion : 15.5
static
MSBuild15_6 1506
MSBuildVersion : 15.6
static
MSBuild15_7 1507
MSBuildVersion : 15.7
static
MSBuild15_8 1508
MSBuildVersion : 15.8
static
MSBuild15_9 1509
MSBuildVersion : 15.9
static
MSBuild16_0 1600
MSBuildVersion : 16.0
static
MSBuild4 4
MSBuildVersion : 4
static

Extension Methods

Name Value Summary
Dump<NuGetMSBuildVersion>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
GetNuGetMSBuildVersionString() string
Gets the string with MSBuild version.
IsIn<NuGetMSBuildVersion>(NuGetMSBuildVersion[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
ThrowIfNull<NuGetMSBuildVersion>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<NuGetMSBuildVersion>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
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