Hi, On Fri, Jun 24, 2011 at 3:14 AM, Indiefreaks.com <[email protected]> wrote: > My 1st question would then be: Is it possible to have one single > program that would late bind assemblies so they get used for code > injection?
I'm not sure I understand your question, but Cecil is platform independent. So as long as you don't add references to the running runtime, you'll be fine. > And secondly: If it is possible, I imagine that I would need to import > these types, methods, fields differently than using the usual > Model.Import(typeof(whatever)); What would be that second option? Use only the Cecil type system, and create references with ModuleDefinition.Import (TypeReference/MethodReference/FieldReference). Jb -- -- mono-cecil
