[Mono-list] mkbundle & generics

Robert Jordan robertj at gmx.net
Thu Aug 17 13:36:12 EDT 2006


Nuno Marques wrote:
> Hi,
> 
> I used mkbundle to create a bundle of my app, but when I run the bundle  
> shows this error:
> 
> WARNING **: The class System.Collections.Generic.Dictionary`2 could not be  
> loaded, used in mscorlib, Version=2.0.0.0, Culture=neutral,  
> PublicKeyToken=b77a5c561934e089
> 
> Is it possible to use mkbundle with a 2.0 profile?

Not from scratch, but you could get a copy of mkbundle from here:

	http://svn.myrealbox.com/viewcvs/trunk/mcs/tools/mkbundle/

and compile it with gmcs:

	gmcs -r:Mono.Posix.dll -r:ICSharpCode.SharpZipLib.dll
	-resource:template.c -resource:template_z.c
	-out:mkbundle2.exe mkbundle.cs

Then use `mono mkbundle2.exe' instead of `mkbundle'.

Robert



More information about the Mono-list mailing list