The addin directive is used to install and reference addins using NuGet:
The addin directive supports also optional quotes:
The following URI parameters are supported by the addin directive.
This is not a named parameter, but it is permitted as per the URI definition. By default, the provider will attempt to install addins from nuget.org. If the package is hosted on another feed the installation source can be overridden.
Download from myget.org:
Install addin from a local directory:
The name of the NuGet package that should be installed.
The specific version of the NuGet package that should be installed. If not provided, the latest version package that is available will be installed.
To install prerelease tools without defining a specific
#addin nuget:?package=Cake.Foo&version=1.2.3-beta), the
prerelease parameter needs to be passed.
Available since Cake 0.22.0.
By default dependencies defined on the NuGet package are not loaded.
loaddependencies parameter allows to fetch and load dependent NuGet packages.
This feature requires Cake to be configured to use in-process NuGet client instead of external
include parameter allows to define the files which should be included.
exclude parameter allows exclude specific files.
Logging verbosity can be altered through the verbosity of the Cake execution.