InvokeSteps Class

Summary

Defines a ITask that executes steps for nBuildKit.
Namespace
NBuildKit.MsBuild.Tasks.Script
Base Types
graph TD Base0["BaseTask"]-->Type click Base0 "/nBuildKit.MsBuild/api/NBuildKit.MsBuild.Tasks.Core/BaseTask" Base1["Task"]-->Base0 Type["InvokeSteps"] class Type type-node

Syntax

public sealed class InvokeSteps : BaseTask

Properties

Name Value Summary
ErrorInformation ITaskItem[]
Gets or sets the collection containing the error codes for the task.
Inherited from BaseTask
FailOnPostStepFailure bool
Gets or sets a value indicating whether the process should fail if a post-step fails
FailOnPreStepFailure bool
Gets or sets a value indicating whether the process should fail if a pre-step fails
FailureSteps ITaskItem[]
Gets or sets the steps that should be taken if a step fails.
GroupsToExecute ITaskItem[]
Gets or sets the collection of tags that mark which steps should be executed. If no groups are specified it is assumed that all valid steps should be executed.
PostSteps ITaskItem[]
Gets or sets the steps that should be executed after each step.
PreSteps ITaskItem[]
Gets or sets the steps that should be executed prior to each step.
Projects ITaskItem[]
Gets or sets the steps that should be taken for the current process.
Properties ITaskItem[]
Gets or sets the properties for the steps.
StepMetadata ITaskItem[]
Gets or sets the collection containing the metadata describing the different steps.
StopOnFirstFailure bool
Gets or sets a value indicating whether or not the process should stop on the first error or continue. Default is false.
StopOnPostStepFailure bool
Gets or sets a value indicating whether the process should stop if a post-step fails
StopOnPreStepFailure bool
Gets or sets a value indicating whether the process should stop if a pre-step fails
ToolsVersion string
Gets or sets the version of MsBuild and the build tools that should be used.

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