如何在 Azure 函数中创建子文件夹

How do I create a subfolder in Azure functions

我正在遵循本指南

https://sqldusty.com/2017/06/21/how-to-automate-processing-of-azure-analysis-services-models/

步骤4。配置Function App,我们需要创建一个名为bin

的子文件夹

Select your function, TimerTriggerCSharp1, and expand the View files windows on the far right of your screen.

Here you need to add a folder called “bin”. Click Add to do this.

当我单击 "add" 时,它会添加一个 文件 ,而不是 文件夹 。我错过了什么>?

编辑:

最后我一直遇到不一致的汇编错误,很容易就达到了 5 分钟的超时限制。所以我转而研究了 Azure 自动化。这似乎是一种更简单的方法来实现我的需要。我现在只是很难安排时间

好的,大家忘了说,你添加的东西要命名

bin\

没有

bin

您可能想尝试将预编译函数与新的 VS2017 15.3 工具结合使用。然后你就不必手动创建任何文件夹,只需引用你需要的 NuGet 包。