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
Gets the Package Id from a .nupkg file.
Syntax
public static string GetNuGetPackageId(this ICakeContext context, FilePath file)
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
CakeNamespaceImportAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
file |
FilePath |
The .nupkg file to read. |
Return Value
Type |
Description |
string |
The package Id. |