Skip to content

SendGridPlus Complains about SendGrid.SmtpApi #17

@josecomboni

Description

@josecomboni

I recently updated one my service projects to Azure's SDK v2.5 and a bunch of other Microsoft libraries. After doing this, Sengrid stopped working on my service. I get a runtime error - File IOException, Could not load file or assembly 'SendGrid.SmtpApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
I've double and triple checked the two projects that depend on this (a class library and a service role) and All the dependencies are there (handled by NuGet btw). But yet, when I get to the line where I create a mail instance using, Mail.GetInstance() I get the exception.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions