[Mono-osx] NUnit and OSX

Andrew Hanson u_a1hanson at umassd.edu
Thu Feb 23 21:52:50 EST 2006


I had previously submitted an e-mail here, but then canceled it when  
I realized its irrelevance.  I am still having a problem with NUnit  
however.  From my understand, nunit is installed in the mono's gac,  
which i verifed by using gacutil /l which returned, among other things:

nunit.core, Version=2.2.0.0, Culture=neutral,  
PublicKeyToken=96d09a1eb7f44a77
nunit.framework, Version=2.2.0.0, Culture=neutral,  
PublicKeyToken=96d09a1eb7f44a77
nunit.util, Version=2.2.0.0, Culture=neutral,  
PublicKeyToken=96d09a1eb7f44a77

Now I shouldn't have to add a assembly reference when compiling to  
get my NUnit test class to compile I think, but even if I try to add  
references to the dll's in the gac folder it makes no difference.   
When I try to compile using the command:

mcs -target:library TimeTypeTest.cs TimeType.cs

I get the following error:

TimeTypeTest.cs(1,7): error CS0246: The type or namespace name  
`NUnit' could not be found. Are you missing a using directive or an  
assembly reference?
TimeTypeTest.cs(1,1): error CS0246: The type or namespace name  
`NUnit.Framework' could not be found. Are you missing a using  
directive or an assembly reference?
TimeTypeTest.cs(5,3): error CS0246: The type or namespace name  
`TestFixture' could not be found. Are you missing a using directive  
or an assembly reference?
Compilation failed: 3 error(s), 0 warnings

If you need any further information from me, I can post it.

~Andrew Hanson


More information about the Mono-osx mailing list