ToolSettings.

EnvironmentVariables Property

Summary

Gets or sets search paths for files, directories for temporary files, application-specific options, and other similar information.
Namespace
Cake.Core.Tooling
Containing Type
ToolSettings

Syntax

public IDictionary<string, string> EnvironmentVariables { get; set; }

Examples

MSBuild("./src/Cake.sln", new MSBuildSettings {
    EnvironmentVariables = new Dictionary<string, string>{
        { "TOOLSPATH", MakeAbsolute(Directory("./tools")).FullPath }
    }});

Value

Type Description
IDictionary<string, string>