How do you use custom NuGet feeds with Azure Functions?

后端 未结 1 1788
再見小時候
再見小時候 2021-01-05 00:17

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?

相关标签:
1条回答
  • 2021-01-05 00:52

    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

    0 讨论(0)
提交回复
热议问题