c# - MEF - Get assembly from embedded DLL -
i using mef create "plugins" wpf application. of these plugins want embed directly exe file exe needs standalone. using costura fody embed resource along other references. exe file needs standalone unable create directory these plugins , use directoycatalog is there anyway can either load assembly embedded resource, or specify assembly name such as: catalog.catalogs.add(new assemblycatalog("my.assembly.name)); i have tried looping through manifest resources these appear zipped fody: var resourcenames = gettype().assembly.getmanifestresourcenames(); foreach (var resourcename in resourcenames) any help/suggestions appreciated. ok got work me, using class below (found code @ https://github.com/sebazzz/entityprofiler/blob/master/src/ui/entityprofiler.viewer/appbootstrapper.cs , tweaked suit needs): to use call extract function find costura zip files in resource manifest , decompresses , registers it. the function returns dictionary of ...