DownloadPackageInstaller.

Install(PackageReference, PackageType, DirectoryPath) Method

Summary

Installs the tool into <path>/<package>.<version>/, unless an identical install is already there, and returns the files to register.

Syntax

public IReadOnlyCollection<IFile> Install(PackageReference package, PackageType type, DirectoryPath path)

Parameters

Name Type Description
package PackageReference The package reference.
type PackageType The package type.
path DirectoryPath The tools directory.

Return Value

Type Description
IReadOnlyCollection<IFile> The files to register with the tool locator.