[Mono-osx] The classes in the module cannot be loaded
John Luetke
john at johnluetke.net
Sun Aug 28 00:44:54 EDT 2011
Hi All,
I've created a pkg installer with MonoDevelop and am testing my application
before distributing it.
When I start up that app on my dev or test system, it crashes immediately.
In Console.app, the following is printed:
[0x0-0xe86e86].net.johnluetke.MyApp[31629] Unhandled Exception:
System.Reflection.ReflectionTypeLoadException: The classes in the
module cannot be loaded.
[0x0-0xe86e86].net.johnluetke.MyApp[31629] at (wrapper
managed-to-native) System.Reflection.Assembly:GetTypes
(System.Reflection.Assembly,bool)
[0x0-0xe86e86].net.johnluetke.MyApp[31629] at
System.Reflection.Assembly.GetTypes () [0x00000] in <filename
unknown>:0
[0x0-0xe86e86].net.johnluetke.MyApp[31629] at
MonoMac.ObjCRuntime.Runtime.RegisterAssembly
(System.Reflection.Assembly a) [0x00000] in <filename unknown>:0
[0x0-0xe86e86].net.johnluetke.MyApp[31629] at
MonoMac.AppKit.NSApplication.Init () [0x00000] in <filename unknown>:0
[0x0-0xe86e86].net.johnluetke.MyApp[31629] at
MyApp.UI.OSX.MainClass.Main (System.String[] args) [0x00000] in
<filename unknown>:0
com.apple.launchd.peruser.501[668]
([0x0-0xe86e86].net.johnluetke.MyApp[31629]) Exited with exit code: 1
This appears to be a run-time error with the Mono runtime that gets packaged
with the application, but I don't have the faintest idea of where to start
looking for the issue.
I'm not linking any assemblies, and am using Mono 2.10.2, and MD 2.6rc2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20110827/3a4ac2a8/attachment-0001.html
More information about the Mono-osx
mailing list