Summary
Build the project using the specified path and settings.
- Namespace
- Cake
.Common .Tools .DotNet .MSBuild - Containing Type
- DotNetMSBuildBuilder
Syntax
public void Build(string projectOrDirectory, DotNetMSBuildSettings settings, Action<IEnumerable<string>> standardOutputAction)
Remarks
Calls Run directly so that dotnet --verbosity is not appended (it would cause MSB1016);
verbosity is passed as MSBuild /verbosity in the arguments instead.
Parameters
| Name | Type | Description |
|---|---|---|
| projectOrDirectory | string | The target project path. |
| settings | Dot |
The settings. |
| standardOutputAction | Action |
The action to invoke with the standard output. |
Return Value
| Type | Description |
|---|---|
| void |
