2
votes

In reference to Reference c# class library in my Azure Function I would like to ask the same question how to achieve this - with a precompiled C# Azure function - with any kind of .dll (that is provided as such, thus not a NuGet) - within VS Code

AFAIK this is not documented

1

1 Answers

2
votes

Add a folder like MyAssemblies containing our dlls under function app folder.

Then add references in functionappname.csproj.

<ItemGroup>
    <Reference Include="MyCustomDll">
      <HintPath>./MyAssemblies/MyCustomDll.dll</HintPath>
    </Reference>
</ItemGroup>