DotNetPackageLister.

List(string, DotNetPackageListSettings) Method

Summary

Lists the package references for a project or solution.

Syntax

public DotNetPackageList List(string project, DotNetPackageListSettings settings)

Parameters

Name Type Description
project string The project or solution file to operate on. If not specified, the command searches the current directory for one. If more than one solution or project is found, an error is thrown.
settings DotNetPackageListSettings The settings.

Return Value

Type Description
DotNetPackageList A task with the GitVersion results.