Summary
Sets the warning code to treats as a message.
- Namespace
- Cake
.Common .Tools .DotNetCore .MSBuild - Containing Type
- Dot
Net Core M S Build Settings Extensions
Syntax
public static DotNetCoreMSBuildSettings SetWarningCodeAsMessage(this DotNetCoreMSBuildSettings 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 DotNetCoreMSBuildSettings instance so that multiple calls can be chained. |