DotNetCoreMSBuildSettingsExtensions.

TreatAllWarningsAs(DotNetCoreMSBuildSettings, MSBuildTreatAllWarningsAs) Method

Summary

Sets how all warnings should be treated.

Syntax

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

Parameters

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

Return Value

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