Summary
Adds a MSBuild target to the configuration.
- Namespace
- Cake
.Common .Tools .DotNet .MSBuild - Containing Type
- Dot
Net M S Build Settings Extensions
Syntax
public static DotNetMSBuildSettings WithTarget(this DotNetMSBuildSettings settings, string target)
Remarks
Ignores a target if already added.
Parameters
| Name | Type | Description |
|---|---|---|
| settings | Dot |
The settings. |
| target | string | The MSBuild target. |
Return Value
| Type | Description |
|---|---|
| Dot |
The same DotNetMSBuildSettings instance so that multiple calls can be chained. |
