Summary
Sets the warning code to treats as a message.
- Namespace
- Cake
.Common .Tools .DotNet .MSBuild - Containing Type
- Dot
Net M S Build Settings Extensions
Syntax
public static DotNetMSBuildSettings SetWarningCodeAsMessage(this DotNetMSBuildSettings settings, string warningCode)
Parameters
Name | Type | Description |
---|---|---|
settings | Dot |
The settings. |
warningCode | string | The warning code to treat as a message. |
Return Value
Type | Description |
---|---|
Dot |
The same DotNetMSBuildSettings instance so that multiple calls can be chained. |