MSBuildSettingsExtensions.

WithWarningsAsMessage(MSBuildSettings, string[]) Method

Summary

Warnings to not treat as errors.

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.