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 Version from a .nupkg file.
Syntax
public static NuGetVersion GetNuGetPackageVersion(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 |
NuGetVersion |
The package version. |