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, FilePath file, string nugetSource = "https://api.nuget.org/v3/index.json")
Attributes
| Type |
Description |
| CakeMethodAliasAttribute |
|
| CakeNamespaceImportAttribute |
|
Parameters
| Name |
Type |
Description |
| context |
ICakeContext |
The context. |
| file |
FilePath |
The .nupkg file. |
| nugetSource |
string |
The NuGet package source. |
Return Value
| Type |
Description |
| bool |
true if the .nupkg is published at the given NuGet package source. |