Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you use custom NuGet feeds with Azure Functions?

I know you can create a project.json file to add NuGet packages to your functions, but how can I specify what feed I want them pulled from?

like image 366
sds6065 Avatar asked Sep 16 '16 13:09

sds6065


1 Answers

Azure functions supports the standard nuget.config approach to setup custom sources. You can place a nuget.config file with your custom sources either in your function folder or in the Function App root (where it will be used for all functions)

You can find more information about the file format and specifying custom sources here: https://docs.nuget.org/consume/nuget-config-file#package-sources

like image 127
Fabio Cavalcante Avatar answered Sep 21 '22 10:09

Fabio Cavalcante