Thursday, November 10, 2005 1:16 PM
One thing I finally figured out, through the help of the guy that wrote Cecil, is that Cecil wont load Incremental builds. What does that mean? You know how VisualStudio has two build options: Build and Rebuild. Well when you use Build only the methods that change get recompiled. This causes some weirdness in the assembly with the metadata tables that Cecil cant (wont) handle.
How do you get around this? Recompile is the answer! :-) Recompile compiles all your code and creates proper metadata tables that Cecil can happily parse.