Inspect dependencies for dynamically loaded library in .net core
问题 I'm trying to create plugin which uses some functions from external dll-s. Because I don't know which plugin will be used I would like to dynamically load: main asp.net core project which dynamically loads plugins like mailservice.dll using reflection. mailservice.dll library which exposes CheckMail() method (I use MimeKit as a IMAP helper). Everything loads fine but when I invoke CheckMail() method I receive System.IO.FileNotFoundException: Could not load file or assembly 'MailKit, Version=1