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
Determines if a .nupkg is already published at the given NuGet package source.
Syntax
public static bool IsNuGetPublished(this ICakeContext context, string packageId, NuGetVersion version, string nugetSource = "https://api.nuget.org/v3/index.json")
Attributes
| Type |
Description |
| CakeMethodAliasAttribute |
|
| CakeNamespaceImportAttribute |
|
Parameters
| Name |
Type |
Description |
| context |
ICakeContext |
The context. |
| packageId |
string |
The NuGet package Id. |
| version |
NuGetVersion |
The NuGet package Version. |
| nugetSource |
string |
The NuGet package source. |
Return Value
| Type |
Description |
| bool |
true if the .nupkg is published at the given NuGet package source. |