I would like to essentially do this:
var assemblyDefinition =
AssemblyDefinition.ReadAssembly("example.dll");
var dynamicAssembly = assemblyDefinition.DefineDynamicAssembly(
new AssemblyName("example"),
AssemblyBuilderAccess.RunAndCollect);
return dynamicAssembly.GetType("foo");
Hopefully it's clear with that snippet but basically I'm wanting to
convert a Cecil.AssemblyDefinition into a Emit.AssemblyBuilder. The
goal of course would be to load assemblies off of disk as collectible
assemblies. You can do this with CCI but the api is pretty verbose and
it requires a lot of assembly references.
I could probably do this myself but I'm wondering if the functionality
exists today so I don't have to recreate the wheel :)
--
--
--
mono-cecil
---
You received this message because you are subscribed to the Google Groups
"mono-cecil" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.