GenerateTargetsFile Class

Summary

Defines a Task that generates a targets file from a given System.Reflection.Assembly that contains one or more ITask implementations.
Namespace
NBuildKit.MsBuild.Tasks
Base Types
graph TD Base0["BaseTask"]-->Type click Base0 "/nBuildKit.MsBuild/api/NBuildKit.MsBuild.Tasks.Core/BaseTask" Base1["Task"]-->Base0 Type["GenerateTargetsFile"] class Type type-node

Syntax

public sealed class GenerateTargetsFile : BaseTask

Properties

Name Value Summary
AssemblyFile ITaskItem
Gets or sets the assembly file from which the targets file should be generated.
ErrorInformation ITaskItem[]
Gets or sets the collection containing the error codes for the task.
Inherited from BaseTask
ExtensionsProperty string
Gets or sets the name of the property that should be used to indicate that the extensions targets file is loaded.
TargetsFile ITaskItem
Gets or sets the path to the location where the targets file should be written to.

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