0

I have a custom source feed for nuget I am trying to set up with my azure function. However I can't seem to make it work.

The image posted shows the file folder of the azure function

This image shows the files associated with the Function

enter image description here

The second shows how the config file is formatted. The blue lines represent the custom source name and url. Am I doing this right? If not, what should I do differently?

Darth Veder
  • 159
  • 2
  • 11

1 Answers1

0

Try to add credentials for your custom source feed.

Example here: Can't provide NuGet package source credentials to Azure Function

Alexey Rodionov
  • 1,436
  • 6
  • 8
  • Okay. I'll double check that. The file location of the NuGet.Config is correct though? – Darth Veder Feb 15 '18 at 00:13
  • Yes. 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) – Alexey Rodionov Feb 15 '18 at 00:25