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?
Asked
Active
Viewed 2,603 times
9

sds6065
- 195
- 1
- 8
-
Possible duplicate of [How can I use NuGet packages in my Azure Functions?](http://stackoverflow.com/questions/36411536/how-can-i-use-nuget-packages-in-my-azure-functions) – aledustet Sep 16 '16 at 17:28
-
The answer given there does not discuss additional nuget feeds at all, just how to use the `project.json` file. – sds6065 Sep 16 '16 at 19:26
1 Answers
10
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

Fabio Cavalcante
- 12,328
- 3
- 35
- 43
-
Do I have to do anything special when referencing a package from a private nuget feed in my project.json file? Every example I can find is referencing a package from nuget.org – BobbyA May 16 '18 at 19:45
-