第三方库应上传到哪里? [英] Where should third party libraries be uploaded to?
本文介绍了第三方库应上传到哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
推荐答案
Hello 私有 装配:
To reference a custom assembly, you can use either a shared assembly or a private assembly:
- 共享的程序集在函数应用程序中的所有函数之间共享.要引用自定义程序集,请将程序集上载到名为
bin
私有程序集是给定函数上下文的一部分,并支持不同版本的侧面加载.私有程序集应以bin
文件夹 在功能目录中.使用文件名引用程序集,例如,#r"MyAssembly.dll"
.
- Shared assemblies are shared across all functions within a function app. To reference a custom assembly, upload the assembly to a folder named
bin
in your function app root folder (wwwroot).- Private assemblies are part of a given function's context, and support side-loading of different versions. Private assemblies should be uploaded in a
bin
folder in the function directory. Reference the assemblies using the file name, such as#r "MyAssembly.dll"
.文档以获取更多详细信息.
See the documentation for more details.
这篇关于第三方库应上传到哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文