[Mono-dev] Cecil cannot read corlib

Harald Krapfenbauer krapfenbauer at ict.tuwien.ac.at
Tue Jul 8 11:41:41 EDT 2008


Hello,

Jb Evain wrote:
> Hey,
> 
> On 7/7/08, Harald Krapfenbauer <krapfenbauer at ict.tuwien.ac.at> wrote:
>>  I made some progress with the debugger on a MIPS platform.
>>  Unfortunately, I'm facing a problem with the Cecil library currently.
>>  When it tries to read the symbols of the corlib
>>  (Cecil.AssemblyFactory.GetAssembly()), the following error occurs:
>>
>>  Cannot load symbol file `/usr/lib/mono/1.0/mscorlib.dll': Invalid XML
>>  string: PermissionSet
>>
>>  Afterwards, null is returned.
>>
>>  What does this error mean? Do you have any suggestions how to track this
>>  error down? I'm working with MDB 0.60, which uses Cecil 0.4.3.1. Where
>>  can I get the source of this version of Cecil?
> 
> The SVN version of mdb uses the SVN version of Cecil, which is located
> in mcs/class/Mono.Cecil
> 
> But somehow, I tend to doubt this is the cause of the error, as Cecil
> on x86 perfectly reads and write the mscorlib.

You were right, the error occured in Mono itself and not in the Cecil
library.

Thanks!
Harald


> 
> --
> Jb Evain  <jb at nurv.fr>



More information about the Mono-devel-list mailing list