SearchPackagesDirectoryForToolPath Class

Summary

Defines a ITask that searches a given directory for a specific tool and returns the full path to the tool.
Namespace
NBuildKit.MsBuild.Tasks.FileSystem
Base Types
graph TD Base0["BaseTask"]-->Type click Base0 "/nBuildKit.MsBuild/api/NBuildKit.MsBuild.Tasks.Core/BaseTask" Base1["Task"]-->Base0 Type["SearchPackagesDirectoryForToolPath"] class Type type-node

Syntax

public sealed class SearchPackagesDirectoryForToolPath : BaseTask

Properties

Name Value Summary
ErrorInformation ITaskItem[]
Gets or sets the collection containing the error codes for the task.
Inherited from BaseTask
FileToLocate string
Gets or sets the name of the file that should be located.
PackagesDirectory ITaskItem
Gets or sets the full path to the packages directory.
Path ITaskItem
Gets or sets the full path to the the given tool.

Methods

Name Value Summary
ErrorCodeById(string) string
Returns the error code for the given ID.
Inherited from BaseTask
Execute() bool
GetAbsolutePath(ITaskItem) string
Returns the absolute path for the given path item.
Inherited from BaseTask
GetAbsolutePath(ITaskItem, ITaskItem) string
Returns the absolute path for the given path item.
Inherited from BaseTask
GetAbsolutePath(string) string
Returns the absolute path for the given path item.
Inherited from BaseTask
VerbosityForCurrentMsBuildInstance() string
Gets the verbosity that the current MsBuild instance is running at.
Inherited from BaseTask
static