run.csx(30,40): error CS1061: 'ExecutionContext' does not contain a definition for 'FunctionName' and no accessible extension method 'FunctionName' accepting a first argument of type 'ExecutionContext' could be found (are you missing a using directive or an assembly reference?)
いつも有用な記事の公開ありがとうございます!
まさに実装する機会があったので、ほぼ記事の手順通りにデプロイしていたところ、関数の実行において下記のエラーになってしまいました。
run.csx 19 行目の 3 番目の引数のクラス "ExecutionContext" を "Microsoft.Azure.WebJobs.ExecutionContext" と明記することで解消できております (using 句の追加でも良かったかもしれません)。
参考 : https://jurgenonazure.com/2020/06/quick-tip-using-executioncontext-in-azure-functions/
わたしの方で必要な作業が落ちていたら恐縮ですが、もし手順通りでも必要な作業でしたら、修正もご検討いただけますと幸いです。
Document Details
⚠ *Do not edit this section.