[Mono-list] compiler error

Reggie Burnett rykr@bellsouth.net
Fri, 3 Jan 2003 17:32:01 -0600


I am trying to compile a very simple single file app that references
another one of my assemblies.  The assembly it is referencing was
compiled up by csc.  I am using Mono 0.17 stable for this.  When I first
started, it worked fine, but now I am getting an error during
compilation.  Here is the error:

You can run mcs with 'monomcs' on .NET, instead of mono, too.

** Message: Unknown heap type: #-


Unhandled Exception: System.NullReferenceException: A null value was
found where an object instance was required
in (unmanaged) 06 System.Reflection.Assembly:LoadFrom (string)
in <0x00004> 06 System.Reflection.Assembly:LoadFrom (string)
in <0x000a3> 00 Mono.CSharp.Driver:LoadAssembly (string,bool)
in <0x00090> 00 Mono.CSharp.Driver:LoadReferences ()
in <0x00532> 00 Mono.CSharp.Driver:MainDriver (string[])
in <0x0000f> 00 Mono.CSharp.Driver:Main (string[])


I am referencing two assemblies in this app.  One is the SharpZipLib
from the icsharpcode guys.  This one works fine. When I reference my
assembly, this is what I get.  I don't directly create any objects from
the assembly, I simply include it on a using statement to cause this
error.

Anyone have a thought to what is going on?

Thanks
Reggie