Reputation: 163
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
Upvotes: 2
Views: 1080
Reputation: 17790
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>
Upvotes: 2