Hi,

I am trying to alter 2 assemblies at the same time. if I alter only
one, all is fine, but with both I only get chaos. While cecil shows
all correct during weaving , the resulting MSIL has invalid tokens all
over.

I am suspecting that it might not be possible to alter 2 assemblies at
the same time, as maybe the metadata tables are only written once the
changes are written back to disk resulting in invalid references of my
class 2 stuff to class 1 members (with no tokens written yet).

The easiest way would most likely be to merge the assemblies first. Is
there an easy way to do this in cecil, or should I use ILMerge ?

Joe

-- 
--
mono-cecil

Reply via email to