On 5/12/09, seesharper <[email protected]> wrote:
>  I got the latest from repository today.
>
>  The problem is the second time I do GetAssembly it throws an "Invalid
>  PE file" exception.
>
>  And this even though I have not touched the *.dll at all.
>
>  I changed the compilation symbol and it still breaks my assembly.
>
>  If I omit the LoadSymbols and SaveSymbols calls my assembly on disc
>  remains "untouched" and fine.

Then it has nothing to do with the managed reader. It looks to me the
known bug of the pdb header, which is a bit overwriter pieces of the
assembly. That's fixed for the next version of cecil already, but it
won't be backported to the current code for now.

-- 
Jb Evain  <[email protected]>

--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---

Reply via email to