Kri*_*shh 12 azure azure-functions
如何在Azure Functions中访问私有nuget服务器中托管的nuget包?有什么办法可以指定我的私人nuget服务器信息吗?
谢谢!
Fab*_*nte 19
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>
Run Code Online (Sandbox Code Playgroud)
使用Kudu或此处概述的其他部署方法,将该文件复制到函数文件夹或wwwroot(适用于所有函数),并使用您的配置.
| 归档时间: |
|
| 查看次数: |
2243 次 |
| 最近记录: |