This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.ExtendedNuGet.
Summary
Get a NuGet project dependency by packageId.
Syntax
public static PackageReference GetPackageReference(this ICakeContext context, DirectoryPath path, string packageId)
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
This ICakeContext .
|
path |
DirectoryPath |
A relative DirectoryPath where packages.config resides.
|
packageId |
string |
The package Name.
|
Return Value