Access Nuget Packages hosted in private Nuget server in Azure Functions

后端 未结 2 1053
终归单人心
终归单人心 2020-12-14 21:33

How can I access nuget packages hosted in private nuget server in Azure Functions?. Is there any way I can specify my private nuget server info?

Thanks!

2条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-14 22:03

    Krishh,

    This is possible using a nuget.config file as you normally would:

    
    
      
        
        ... other feeds ...
      
      
        
      
    
    

    Using Kudu, or another deployment method outlined here, copy that file to either the function folder or wwwroot (that would apply to all functions) and your config will be used.

提交回复
热议问题