[Mono-dev] Works on Windows, TypeLoadException on OS X ?

Charles Rich rich at WPI.EDU
Thu Aug 11 20:53:27 EDT 2011


When I execute "mono disco.exe" (http://dl.dropbox.com/u/12370141/disco.exe)
on both Windows 7 and OS X 10.6.8 with Mono 2.6.7 installed, it works
fine on Windows (prints out a prompt line) but on OS X I get the
following error message:

       Could not load signature of edu.wpi.cetask.TaskEngine:put due to:
       Exception in thread "main" cli.System.TypeLoadException: Could not
load type 'edu.wpi.disco.Disco' from assembly 'disco, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null'.
       at <Module>.main(<Module>.java)

Note that this file was created from Java using ikvmc and that
edu.wpi.disco.Disco happens to be the main class and extends
edu.wpi.cetaks.TaskEngine.

I tried looking at monodis of disco.exe, but there was too much data
for me to figure out.

Thanks in advance,

-Chuck
--
Dr. Charles Rich, Professor of Computer Science
Interactive Media and Game Development
Worcester Polytechnic Institute, Fuller Laboratories B25b
100 Institute Road, Worcester, MA 01609-2280

Email: rich at wpi.edu   Phone: 508-831-5945   Fax: 508-831-5776
Home: http://www.cs.wpi.edu/~rich


More information about the Mono-devel-list mailing list