DotNetCoreMSBuildSettingsExtensions.

SetWarningCodeAsMessage(DotNetCoreMSBuildSettings, string) Method

Summary

Sets the warning code to treats as a message.

Syntax

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

Parameters

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

Return Value

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