DotNetMSBuildSettingsExtensions.

WithTarget(DotNetMSBuildSettings, string) Method

Summary

Adds a MSBuild target to the configuration.

Syntax

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

Remarks

Ignores a target if already added.

Parameters

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

Return Value

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