Summary
Defines a
ITask which copies files from one or more NuGet packages.
- Namespace
- NBuildKit
.MsBuild .Tasks .FileSystem - Base Types
-
- Task
- BaseTask
graph TD
Base0["BaseTask"]-->Type
click Base0 "/nBuildKit.MsBuild/api/NBuildKit.MsBuild.Tasks.Core/BaseTask"
Base1["Task"]-->Base0
Type["CopyFilesFromNuGetPackages"]
class Type type-node
Syntax
public sealed class CopyFilesFromNuGetPackages : BaseTask
Constructors
| Name | Summary |
|---|---|
| Copy |
Initializes a new instance of the CopyFilesFromNuGetPackages class.
|
| Copy |
Initializes a new instance of the CopyFilesFromNuGetPackages class.
|
Properties
| Name | Value | Summary |
|---|---|---|
| ErrorInformation | ITaskItem[] |
Gets or sets the collection containing the error codes for the task.
Inherited from BaseTask
|
| Items | ITaskItem[] |
Gets or sets the items which describe what files need to be copied from which packages
and where they should be dropped.
|
| PackagesDirectory | ITaskItem |
Gets or sets the full path to the packages directory that contains the NuGet packages.
|
Methods
| Name | Value | Summary |
|---|---|---|
| ErrorCodeById |
string |
Returns the error code for the given ID.
Inherited from BaseTask
|
| Execute |
bool | |
| GetAbsolutePath |
string |
Returns the absolute path for the given path item.
Inherited from BaseTask
|
| GetAbsolutePath |
string |
Returns the absolute path for the given path item.
Inherited from BaseTask
|
| GetAbsolutePath |
string |
Returns the absolute path for the given path item.
Inherited from BaseTask
|
| Verbosity |
string |
Gets the verbosity that the current MsBuild instance is running at.
Inherited from BaseTask
static
|