MSBuildSettingsExtensions.

WithProperty(MSBuildSettings, string, string[]) Method

Summary

Adds a property to the configuration.

Syntax

public static MSBuildSettings WithProperty(this MSBuildSettings settings, string name, params string[] values)

Parameters

Name Type Description
settings MSBuildSettings The settings.
name string The property name.
values string[] The property values.

Return Value

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