LibManInstallExtensions.

SetLibrary(LibManInstallSettings, string, string) Method

Summary

Installs a client side library by name and scope.
Assembly
Cake.LibMan.dll
Namespace
Cake.LibMan.Install
Containing Type
LibManInstallExtensions

Syntax

public static LibManInstallSettings SetLibrary(this LibManInstallSettings settings, string libraryName, string version)

Parameters

Name Type Description
settings LibManInstallSettings The settings.
libraryName string Name of the client side library. e.g - jquery.
version string Version or tag published to the registry. e.g. - 3.2.1

Return Value

Type Description
LibManInstallSettings The settings instance with Library set to libraryName and version.