[Mono-list] mkbundle : "Error while compiling generated serializer"

Robert Jordan robertj at gmx.net
Thu Dec 20 04:29:07 EST 2007

aztlan2k wrote:
> I did a mkbundle2 of my app and when I run it, every so often i keep getting
> the following error message on console.
>     Error while compiling generated serializer.
>     (0,0) : error CS0006: cannot find metadata file 'data-0x8048b20'
> Whenever I run my app on it's own (using mono and not bundled) i never see
> this error.  As far as I can tell, all my serializable objects are
> serializing just fine, but this error seems to be introduced by the fact
> that I've done a mkbundle.  
> I've searched for clues on the Net but haven't found anything useful at this
> point.  (except of course the actual source code where this error message is
> generated)
> Does anyone have any tips on where I can find more info?  Or better yet,
> know what's going on and how I can fix it?

Supposing it's XML serialization, the C# compiler is needed at runtime,
so bundling an app that rely on XML serialization isn't a trivial task.


More information about the Mono-list mailing list