MSBuildAliases.

MSBuild(ICakeContext, FilePath) Method

Summary

Builds the specified solution or MsBuild project file using MSBuild.
Namespace
Cake.Common.Tools.MSBuild
Containing Type
MSBuildAliases

Syntax

[CakeMethodAlias]
public static void MSBuild(this ICakeContext context, FilePath solution)

Examples

MSBuild("./src/Cake.sln");

Attributes

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

Parameters

Name Type Description
context ICakeContext The context.
solution FilePath The solution or MsBuild project file to build.

Return Value

Type Description
void