First: thanks for a really great piece of software! Exactly what I was looking for!
I finally managed to roundtrip an assembly (even multiple times - i.e. rountrip an assembly created by cecil) but I still have a problem with .NET 1.1: The first problem is that the code of Cecil.Pdb like it is now does not compile with .NET 1.1 (VS2003). With .NET 2008 (.NET 2.0) it works. I had to make some modifications to the Cecil.Pdb code to get it to compile (anyone care for a diff?). I guess the problem is ISymWrapper, which seems to have changed from 1.1 to 2.0. But even with those modifications, roundtrip does not fully work: it seems the SymUnmanagedReader does not close the original PDB file. However, if I _move_ the old PDB file instead of _deleting_ it, the writer can generate the new PDB and roundtrip works fine with .NET 1.1. Is this a problem with the 1.1 version of ISymWrapper or does anyone know a workaround in the Cecil.Pdb code? After all, does anyone use Cecil.Pdb with .NET 1.1 or am I the only one stuck with that old version?? Simon --~--~---------~--~----~------------~-------~--~----~ -- mono-cecil -~----------~----~----~----~------~----~------~--~---
