Serialize and De-Serialize MutableMetaDataModel

Topics: Metadata Model, PE reader
Aug 18, 2011 at 2:44 PM

Is it possible to Serialize and De-Serialize MutableMetaDataModel (and or MutableCodeModel) for quick incremental compile across application launch/session scenarios?
I found MetadataDeepCopier(host).Copy(module) is too expensive to recover mutable model that I can modify and regenerate the assembly again. Thanks

Aug 18, 2011 at 5:01 PM

It is certainly possible to do so, but I'm not aware of anyone actually having written and shared the code you will need for it. (This does seem like a good thing to have, and it also seems like meta programming problem that may well be tackled by writting a CCI bases code generator.)