【问题标题】:SendGrid is not an attribute classSendGrid 不是属性类
【发布时间】:2020-06-02 06:58:06
【问题描述】:

我已经安装了 SendGrid Nugget,但我仍然无法在我的代码中使用它。 我不断收到此错误:

SendGrid 不是属性类

即使我认为我已经安装了所有要安装的东西:

我在这里缺少什么?可能是一些愚蠢的事情,但我无法弄清楚。

【问题讨论】:

    标签: c# azure asp.net-core sendgrid azure-function-app


    【解决方案1】:

    您可能想要Microsoft.Azure.WebJobs.Extensions.SendGrid,它为 Azure Functions 提供 SendGrid 绑定。

    基本的 SendGrid 库对 Azure Functions 一无所知。

    【讨论】:

    • 哦哦!我已经安装了Microsoft.Azure.WebJobs.Extensions.SendGrid,你瞧它的工作原理!谢谢伙计。一定要喜欢 stackoverflow!
    猜你喜欢
    • 2016-04-16
    • 2015-03-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-08-04
    相关资源
    最近更新 更多