[Mono-osx] mkbundle and reflection

silver83 silver83 at gmail.com
Tue Nov 11 06:37:41 EST 2008

silver83 wrote:
> After bundling an application (using mkbundle2) and trying to run it - i
> get the following exception : 
> Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The
> classes in the module cannot be loaded.
>   at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes
> (bool)
>   at System.Reflection.Assembly.GetTypes () [0x00000] 
>   [..some more stack stuff..]
>   at ConsoleNode.MainClass.Main (System.String[] args) [0x00000] 
> The assembly in question is the executing assembly (using
> Assembly.GetExecutingAssembly());
> Help ?

I figured it out myself - 
If during runtime there are any warnings concerning dependent assemblies not
found, this will fail. (even though the code path doesn't really use these

View this message in context: http://www.nabble.com/mkbundle-and-reflection-tp20406766p20437832.html
Sent from the Mono - OSX mailing list archive at Nabble.com.

More information about the Mono-osx mailing list