DownloadToolAliases.

DownloadTool(ICakeContext, Uri) Method

Summary

Installs the tool described by a complete download: directive, the same System.Uri Frosting's CakeHost.InstallTool takes, and registers its files with context.Tools.

Syntax

public static IReadOnlyCollection<FilePath> DownloadTool(this ICakeContext context, Uri directive)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The Cake context.
directive Uri The directive; its System.Uri.OriginalString is used, so {…} placeholders survive.

Return Value

Type Description
IReadOnlyCollection<FilePath> The registered files.