Summary
Warnings to not treat as errors.
- Namespace
- Cake
.Common .Tools .MSBuild - Containing Type
- M
S Build Settings Extensions
Syntax
public static MSBuildSettings WithWarningsAsMessage(this MSBuildSettings settings, params string[] codes)
Parameters
Name | Type | Description |
---|---|---|
settings | MSBuildSettings | The settings. |
codes | string[] | Warning codes to not treat as errors. |
Return Value
Type | Description |
---|---|
MSBuildSettings | The same MSBuildSettings instance so that multiple calls can be chained. |