Free Support Forum - aspose.com

Aspose.Email "Could not load file or assembly" in .NET class library

I’m using a .NET console app which uses a .NET class library. Within the .NET class library I imported the Nuget package Aspose.Email. However, trying to use the Aspose.Email.MailMessage object I’m getting the error message “Could not load file or assembly”.

@tpalmie

Can you please share the sample Visual Studio project with us as it should not be happening.

Hi Mudassir

I got it working. I believe my class library was only using .NET Core and not .NET Framework.

Thanks,

thomas


This Topic is created by shahzadlatif using Email to Topic tool.

@tpalmie

It’s good to know that things are resolved on your end.