Pretty general question man. Need more specifics. Creating "Serializable" assemblies out of non-serializable assemblies is pretty trivial but you are perhaps better off just compiling them out to be serializable in the first place(or else rewrite the assembly using CIL). As for the dynamic type generation, loading and unloading. Are you really asking whether Cecil can do dynamic types and read/write 4.5 framework assemblies? The answer is yes. As for the unitized values bit I am lost ... completely ...
On 27 June 2012 23:13, Dlux <[email protected]> wrote: > Good day (or night) fine developers. I am considering using Cecil to > create an assembly cloner and loader. This was take assemblies generated > by Rosalyn (NET 4.5), clone them to a serializeable assembly that I could > then save, and then later reconstruct a CollectibleAssembly from the > serialized version. This would be used on file close in an application > that uses a great many expressions to convert raw values into unitized > values. I'd save the compiled version as a part of the "document", sign > it, then on load, if the signature vets, I don't have to recompile them. > > From looking at Cecil I think I could do this, but I haven't done anything > this low-level with assemblies before. Does anyone else have any relevant > experience or knowledge on roadblocks or problems I may encounter > [attempting to] do this? > > David L- > > -- > -- > mono-cecil -- -- mono-cecil
