MSBuildPlatform Enum

Summary

Represents an MSBuild exe platform.
Namespace
Cake.Common.Tools.MSBuild
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["MSBuildPlatform"] class Type type-node

Syntax

public enum MSBuildPlatform

Fields

Name Constant Value Summary
Automatic 0
Will build using MSBuild version based on PlatformTarget/Host OS.
static
x64 2
MSBuildPlatform: x64
static
x86 1
MSBuildPlatform: x86
static

Extension Methods

Name Value Summary
Dump<MSBuildPlatform>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<MSBuildPlatform>(MSBuildPlatform[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
ThrowIfNull<MSBuildPlatform>(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<MSBuildPlatform>(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
Requires the Cake.Issues addin