[Mono-devel-list] The class could not be loaded / NullReferenceException
emrysk at gmail.com
Mon Jun 20 22:58:46 EDT 2005
This chunk of output just completely mystifies me. I have no idea why
I'm getting it. I'm using Mono 1.1.8.
emrys at cloudy:~/Navajo/bin$ mono Navajo.exe
** (Navajo.exe:8434): WARNING **: The class Navajo.OutputType could
not be loaded, used in /home/emrys/Navajo/bin/Navajo.exe (token
Unhandled Exception: System.NullReferenceException: Object reference
not set to an instance of an object
I compiled my library and program using these two commands:
gmcs -target:library -out:../bin/Navajo.dll -debug
-r:nunit.framework.dll Tests/*.cs CSharp/*.cs *.cs
gmcs -r:../bin/Navajo.dll -out:../bin/Navajo.exe -debug *.cs
Should I not be using -reference? Is this a common mistake or a bug in 1.1.8?
More information about the Mono-devel-list