DotNetMSBuildSettingsExtensions.

TreatAllWarningsAs(DotNetMSBuildSettings, MSBuildTreatAllWarningsAs) Method

Summary

Sets how all warnings should be treated.

Syntax

public static DotNetMSBuildSettings TreatAllWarningsAs(this DotNetMSBuildSettings settings, MSBuildTreatAllWarningsAs behaviour)

Parameters

Name Type Description
settings DotNetMSBuildSettings The settings.
behaviour MSBuildTreatAllWarningsAs How all warning should be treated.

Return Value

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