PinNuGetDependencyAliases.

PinNuGetDependency(ICakeContext, FilePath, string) Method

Summary

Pin NuGet Dependencies based on identifier.

Syntax

public static void PinNuGetDependency(this ICakeContext context, FilePath filePath, string dependancyIdentifier)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
filePath FilePath Path to the nupkg file.
dependancyIdentifier string Dependency identifier.

Return Value

Type Description
void