ExtendedNuGetAliases Class

Summary

Extended NuGet Aliases.
Assembly
Cake.ExtendedNuGet.dll
Namespace
Cake.ExtendedNuGet
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["ExtendedNuGetAliases"] class Type type-node

Syntax

public static class ExtendedNuGetAliases

Attributes

Type Description
CakeAliasCategoryAttribute

Methods

Name Value Summary
GetNuGetPackageId(ICakeContext, FilePath) string
Gets the Package Id from a .nupkg file.
static
GetNuGetPackageVersion(ICakeContext, FilePath) NuGetVersion
Gets the Package Version from a .nupkg file.
static
GetPackageReference(ICakeContext, DirectoryPath, string) PackageReference
Get a NuGet project dependency by packageId.
static
GetPackageReferences(ICakeContext, DirectoryPath) IEnumerable<PackageReference>
NuGet project dependencies.
static
IsNuGetPublished(ICakeContext, FilePath, string) bool
Determines if a .nupkg is already published at the given NuGet package source.
static
IsNuGetPublished(ICakeContext, string, NuGetVersion, string) bool
Determines if a .nupkg is already published at the given NuGet package source.
static
IsNuGetPublished(ICakeContext, string, string, string) bool
Determines if a .nupkg is already published at the given NuGet package source.
static
PublishNuGets(ICakeContext, string, string, PublishNuGetsSettings, string[]) void
Looks for and attempts to publish NuGet packages matching the globbing patterns.
static
PublishNuGets(ICakeContext, string, string, string, PublishNuGetsSettings, string[]) void
Looks for and attempts to publish NuGet packages matching the globbing patterns.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin