DotNetCoreMSBuildSettingsExtensions.

WithTarget(DotNetCoreMSBuildSettings, string) Method

Summary

Adds a MSBuild target to the configuration.

Syntax

public static DotNetCoreMSBuildSettings WithTarget(this DotNetCoreMSBuildSettings settings, string target)

Remarks

Ignores a target if already added.

Parameters

Name Type Description
settings DotNetCoreMSBuildSettings The settings.
target string The MSBuild target.

Return Value

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