将项目文件设置为Azure功能ARM模板

时间:2017-11-10 21:51:08

标签: azure azure-functions

我想将功能应用的项目源代码设置到ARM模板中。我按照这个模板但没有说明如何设置项目文件路径(* .csproj)。这是本文的链接: https://docs.microsoft.com/en-us/azure/azure-functions/functions-infrastructure-as-code

我怎么能这样做?我尝试了添加应用设置键的选项" PROJECT"并设置* .csproj文件路径的路径。这在这里提到:

https://github.com/projectkudu/kudu/wiki/Customizing-deployments#using-app-settings-instead-of-a-deployment-file

但这也不起作用。我如何设置我的源代码项目文件,因为我有一个特定的功能应用程序,我想用这个arm模板进行部署。

期待收到回复。

1 个答案:

答案 0 :(得分:0)

这个问题有我和David Ebbo的一些评论,以及答案,这应该对此有所帮助。

How to make Azure Function code readable in Azure ARM json template