ExtendedNuGetAliases.

GetPackageReferences(ICakeContext, DirectoryPath) Method

Summary

NuGet project dependencies.

Syntax

public static IEnumerable<PackageReference> GetPackageReferences(this ICakeContext context, DirectoryPath path)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
path DirectoryPath A relative DirectoryPath where packages.config resides.

Return Value

Type Description
IEnumerable<PackageReference> A IEnumerable<T>.