[英]Access Nuget Packages hosted in private Nuget Server in Azure Pipelines
[英]Access Nuget Packages hosted in private Nuget server in Azure Functions
如何在Azure Functions中訪問私有nuget服務器中托管的nuget包? 有什么辦法可以指定我的私人nuget服務器信息嗎?
謝謝!
Krishh,
這可以像通常那樣使用nuget.config
文件:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="MyPrivateFeed" value="http://myhost/myfeed" />
... other feeds ...
</packageSources>
<activePackageSource>
<add key="All" value="(Aggregate source)" />
</activePackageSource>
</configuration>
使用Kudu或此處概述的其他部署方法,將該文件復制到函數文件夾或wwwroot
(適用於所有函數),並使用您的配置。
如果我們假設您的私有nuget包可以部署為一個簡單的.Net庫,那么有幾個與您的問題相關的帖子:
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.