Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.36 KB

functions-core-tools-install-extension.md

File metadata and controls

29 lines (22 loc) · 1.36 KB
title description services author ms.service ms.topic ms.date ms.author ms.custom
include file
include file
functions
ggailey777
functions
include
09/21/2018
glenga
include file

When you develop functions locally, you can install the extensions you need by using the Azure Functions Core Tools from the Terminal or from a command prompt.

After you have updated your function.json file to include all the bindings that your function needs, run the following command in the project folder.

func extensions install

The command reads the function.json file to see which packages you need, installs them, and rebuilds the extensions project. It adds any new bindings at the current version but does not update existing bindings. Use the --force option to update existing bindings to the latest version when installing new ones.

If you want to install a particular version of a package or you want to install packages before editing the function.json file, use the func extensions install command with the name of the package, as shown in the following example:

func extensions install --package Microsoft.Azure.WebJobs.ServiceBus --version <target_version>

Replace <target_version> with a specific version of the package, such as 3.0.0-beta5. Valid versions are listed on the individual package pages at NuGet.org.