DotNetBuildSettings Class

Summary

Contains settings used by the DotNetBuild alias.
Namespace
Cake.Common.Tools
Base Types
  • object
graph BT Type-->Base0["object"] Type["DotNetBuildSettings"] class Type type-node

Syntax

public sealed class DotNetBuildSettings

Constructors

Name Summary
DotNetBuildSettings(FilePath) Initializes a new instance of the DotNetBuildSettings class.

Properties

Name Value Summary
Configuration string
Gets or sets the configuration.
Properties IDictionary<string, IList<string>>
Gets the properties.
Solution FilePath
Gets the solution path.
Targets ISet<string>
Gets the targets.
Verbosity Verbosity
Gets or sets the amount of information to display in the build log. Each logger displays events based on the verbosity level that you set for that logger.

Extension Methods

Name Value Summary
Dump<DotNetBuildSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<DotNetBuildSettings>(DotNetBuildSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<DotNetBuildSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<DotNetBuildSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
SetConfiguration(string) DotNetBuildSettings
Sets the configuration.
SetVerbosity(Verbosity) DotNetBuildSettings
Sets the build log verbosity.
ThrowIfNull<DotNetBuildSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<DotNetBuildSettings>(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
WithProperty(string, string[]) DotNetBuildSettings
Adds a property to the configuration.
WithTarget(string) DotNetBuildSettings
Adds a .NET build target to the configuration.