rgl / MailBounceDetector

Detects whether a MailKit email Message is a bounce message
MIT License
28 stars 13 forks source link

FileLoadException when using MailKit/MimeKit 1.16.1 #9

Closed cervengoc closed 7 years ago

cervengoc commented 7 years ago

Hi, I get the following runtime exception when using the 1.0.3 NuGet version with MailKit/MimeKit 1.16.1.

FileLoadException - Could not load file or assembly 'MimeKit, Version=1.2.0.0, Culture=neutral, PublicKeyToken=bede1c8a46c66814' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Could you please give some hints about this dependency issue?

cervengoc commented 7 years ago

Sorry, that was my mistake, I missed an appropriate binding redirect in my config file.

liorafar commented 5 years ago

Can you please explain what exactly you did to solve it? Thanks

MagicJohnJang commented 4 years ago

I wanna know the detail too, met the same issue.

MagicJohnJang commented 4 years ago

I got it fixed! In my case, code on two project but MailKit version not the same.
Fixed it by Nuget update the MailKit version to the same between all projects.