Still Unable To Load Mef Component Dll Guide

var asm = Assembly.LoadFile(dll); _catalog.Catalogs.Add(new AssemblyCatalog(asm));

Locate the folder and delete all files inside it. still unable to load mef component dll

[Export(typeof(ITest))] public class TestExport : ITest var asm = Assembly

Run this script from the same target framework and bitness as your host app. The inner exception will be brutally honest. var asm = Assembly.LoadFile(dll)

– Corrupt MEF caches in Visual Studio (for extensions) are notoriously hard to clear manually.