ToolTask.EnvironmentVariables ToolTask.EnvironmentVariables ToolTask.EnvironmentVariables ToolTask.EnvironmentVariables Property

Definition

Array of equals-separated pairs of environment variables that should be passed to the spawned executable, in addition to (or selectively overriding) the regular environment block.

public:
 property cli::array <System::String ^> ^ EnvironmentVariables { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
public string[] EnvironmentVariables { get; set; }
member this.EnvironmentVariables : string[] with get, set
Public Property EnvironmentVariables As String()

Property Value

String[]

Remarks

Using this instead of EnvironmentOverride as that takes a StringDictionary, which cannot be set from an MSBuild project.

Applies to