DotNetMSBuildSettingsExtensions.

SetWarningCodeAsMessage(DotNetMSBuildSettings, string) Method

Summary

Sets the warning code to treats as a message.

Syntax

public static DotNetMSBuildSettings SetWarningCodeAsMessage(this DotNetMSBuildSettings settings, string warningCode)

Parameters

Name Type Description
settings DotNetMSBuildSettings The settings.
warningCode string The warning code to treat as a message.

Return Value

Type Description
DotNetMSBuildSettings The same DotNetMSBuildSettings instance so that multiple calls can be chained.