CakeContextAdapter.

ToolInstaller Property

Summary

Gets the tool installer.
Namespace
Cake.Core
Containing Type
CakeContextAdapter

Syntax

public virtual IToolInstaller ToolInstaller { get; }

Examples

Task("Load-JMeter")
    .Does(context =>
{
    context.ToolInstaller.Install(new PackageReference("nuget:?package=JMeter&version=5.6.3"));
});

Value

Type Description
IToolInstaller The tool installer.