How do I use external assemblies with Microsoft Azure Function Apps?

前端 未结 5 1717
北恋
北恋 2020-12-09 16:59

The documentation says that you can put a DLL in a bin folder and reference it using a special #r syntax, however in the Azure portal I cannot find

5条回答
  •  隐瞒了意图╮
    2020-12-09 17:45

    You can add assembly reference with a relative path.

    In portal.azure.com -> function apps, on the right hand side, View Files -> upload the dll (eg: YourDllName.dll).

    In run.csx, enter #r "./YourDllName.dll"

提交回复
热议问题