Hey Philip, On 11/1/08, Philip_L <[EMAIL PROTECTED]> wrote: > Is there some sample out there that shows how to use Cecil to write > out the PDB along with the modified assembly itself?
Not really. The API is quite straightforward, you have to call ModuleDefinition.LoadSymbols before doing anything else on the assembly, and .SaveSymbols before saving the assembly. Then you have to populate the SequencePoints of the Instructions. I suggest you have a look at how those look like on a freshly read assembly. -- Jb Evain <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ -- mono-cecil -~----------~----~----~----~------~----~------~--~---
