[Mono-osx] Unhandled Exception: System.Reflection.ReflectionTypeLoadException

sean chapel seoushi at gmail.com
Sun Mar 2 20:42:28 EST 2008


I have a fresh 10.5.2 installation and have mono 1.2.6_6. Everything works
well except I can get OpenTK to build. I realize this isn't the OpenTK
support form but I'm lead to believe that this is more of a mono error then
an OpenTK error.

I tried to build OpenTK with "mono Build.exe mono" and it goes fine until it
tries to build OpenTK.dll

Here is the relevant error:

[csc] **
(/Library/Frameworks/Mono.framework/Versions/1.2.6/lib/mono/2.0/gmcs.exe:19216):
WARNING **: The class Mono.WebBrowser.DOM.IDocument could not be loaded,
used in Mono.Mozilla, Version=0.2.0.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756
                  [csc] **
(/Library/Frameworks/Mono.framework/Versions/1.2.6/lib/mono/2.0/gmcs.exe:19216):
WARNING **: The class Mono.WebBrowser.DOM.IElement could not be loaded, used
in Mono.Mozilla, Version=0.2.0.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756
                  [csc] **
(/Library/Frameworks/Mono.framework/Versions/1.2.6/lib/mono/2.0/gmcs.exe:19216):
WARNING **: The class Mono.WebBrowser.DOM.IWindow could not be loaded, used
in Mono.Mozilla, Version=0.2.0.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756
                  [csc] Unhandled Exception:
System.Reflection.ReflectionTypeLoadException: The classes in the module
cannot be loaded.
                  [csc]   at (wrapper managed-to-native)
System.Reflection.Assembly:GetTypes (bool)
                  [csc]   at System.Reflection.Assembly.GetExportedTypes ()
[0x00000]
                  [csc]   at Mono.CSharp.TypeManager.LoadAllImportedTypes ()
[0x00000]
                  [csc]   at Mono.CSharp.Driver.MainDriver (System.String[]
args) [0x00000]
                  [csc]   at Mono.CSharp.Driver.Main (System.String[] args)
[0x00000]

            BUILD FAILED - 0 non-fatal error(s), 68 warning(s)

            /Users/seoushi/Desktop/opentk-0.9.0
/Source/OpenTK/OpenTK.dll.build(10,10):
            External Program Failed:
/Library/Frameworks/Mono.framework/Versions/1.2.6/lib/mono/2.0/gmcs.exe
(return code was 1)



I've found a similar bug report here:
https://bugzilla.novell.com/show_bug.cgi?id=358131. Unfortunately that
report doesn't seem to help me. Is there something I should look into?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20080302/60830fa5/attachment-0001.html 


More information about the Mono-osx mailing list