XBuildAliases.

XBuild(ICakeContext, FilePath, XBuildSettings) Method

Summary

Builds the specified solution using XBuild.
Namespace
Cake.Common.Tools.XBuild
Containing Type
XBuildAliases

Syntax

[CakeMethodAlias]
public static void XBuild(this ICakeContext context, FilePath solution, XBuildSettings settings)

Examples

XBuild("./src/Cake.sln", new XBuildSettings {
    Verbosity = Verbosity.Minimal,
    ToolVersion = XBuildToolVersion.NET40,
    Configuration = "Release"
    });

Attributes

Type Description
CakeMethodAliasAttribute An attribute used to mark script method aliases.

Parameters

Name Type Description
context ICakeContext The context.
solution FilePath The solution to build.
settings XBuildSettings The settings.

Return Value

Type Description
void