Hi Sebastian, On Sun, Oct 31, 2010 at 9:40 PM, Sebastian <[email protected]> wrote: > Hi im trying to load a dll file and always get this exception: > > Here the code: > > var assemblyDef = AssemblyFactory.GetAssembly(@"C:\Users\Roflcoptr > \Documents\Visual Studio 2008\Projects > \Prototype_Ver1\Prototype_Ver1\bin\Debug\hello_cs.dll"); > assemblyDef.MainModule.LoadSymbols(); > > Any hints how to changed that?
The exception appears to be caused by the COM pdb reader that the previous version of Cecil could have used. I suggest you update to Cecil 0.9 and use the managed pdb reader. See http://github.com/jbevain/cecil Jb -- -- mono-cecil
