SamuraiJack
SamuraiJack

Reputation: 5539

SendGrid is not an attribute class

I have installed SendGrid Nugget but I am still not able to use it in my code. I keep getting this error:

SendGrid is not an attribute class

enter image description here

Even though I think I have installed everything there is to install:

enter image description here

What am I missing here? Could be something silly but I am not able to figure it out.

Upvotes: 4

Views: 692

Answers (1)

yaakov
yaakov

Reputation: 5850

You probably wanted Microsoft.Azure.WebJobs.Extensions.SendGrid which provides the SendGrid bindings for Azure Functions.

The basic SendGrid library knows absolutely nothing about Azure Functions.

Upvotes: 3

Related Questions