引用Reference c# class library in my Azure Function我想问同样的问题如何实现这一目标 - 带有预编译的 C# Azure 函数 - 任何类型的 .dll(按原样提供,因此不是 NuGet) - 在 VS 代码中
据我所知,这没有记录
最佳答案
在函数应用程序文件夹下添加一个包含我们的 dll 的文件夹,例如 MyAssemblies
。
然后在functionappname.csproj
中添加引用。
<ItemGroup>
<Reference Include="MyCustomDll">
<HintPath>./MyAssemblies/MyCustomDll.dll</HintPath>
</Reference>
</ItemGroup>
关于c# - 在我的预编译 C# Azure Function 中引用 dll,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51952249/