GatherNuGetDependenciesForProject Class

Summary

Defines a ITask that calculates the dependencies for a NuGet package specification.
Namespace
NBuildKit.MsBuild.Tasks.Packaging
Base Types
graph TD Base0["BaseTask"]-->Type click Base0 "/nBuildKit.MsBuild/api/NBuildKit.MsBuild.Tasks.Core/BaseTask" Base1["Task"]-->Base0 Type["GatherNuGetDependenciesForProject"] class Type type-node

Syntax

public sealed class GatherNuGetDependenciesForProject : BaseTask

Properties

Name Value Summary
Dependencies string
Gets or sets the string containing the dependency XML for the nuspec.
DesignTimePackages ITaskItem[]
Gets or sets the collection containing the names of the NuGet packages which are considered design time packages, and should thus not be referenced in the dependencies list.
ErrorInformation ITaskItem[]
Gets or sets the collection containing the error codes for the task.
Inherited from BaseTask
NuGetSpec ITaskItem
Gets or sets the full path to the nuspec file for which the dependencies should be calculated.
Packages ITaskItem[]
Gets or sets the collection of package.config files from which additional dependencies should be calculated.
VersionRangeType string
Gets or sets the switch indicating how the version range is calculated. Valid options are: 'none', 'major', 'minor', 'patch'.

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