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

Charles Rich rich at WPI.EDU
Wed Aug 24 15:50:10 EDT 2011


Hi, is Mac compatibility not a high-priority issue?  I have gotten no
reply to the following post.

Thanks, -CR

---------- Forwarded message ----------
From: Charles Rich <rich at wpi.edu>
Date: Thu, Aug 11, 2011 at 8:49 PM
Subject: Fwd: Works on Windows, TypeLoadException on OS X ?
To: mono-devel-list at lists.ximian.com

When I execute "mono 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)

You can download the assembly (3MB) at
http://dl.dropbox.com/u/12370141/disco.exe

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