DotNetBuildAliases.

DotNetBuild(ICakeContext, FilePath) Method

Summary

Builds the specified solution using MSBuild or XBuild.
Namespace
Cake.Common.Tools
Containing Type
DotNetBuildAliases

Syntax

[CakeMethodAlias]
[Obsolete("Use MSBuild or XBuild instead.")]
public static void DotNetBuild(this ICakeContext context, FilePath solution)

Examples

DotNetBuild("./project/project.sln");

Attributes

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

Parameters

Name Type Description
context ICakeContext The context.
solution FilePath The solution.

Return Value

Type Description
void