Issues with mono and nant

Chris Carlson cwcarlson at cox.net
Fri Jun 13 14:56:12 UTC 2008


I have confirmed that the yum installation of mono and nant have a 
problem with nunit.core.  I don't know enough about these products to 
fix them, but they don't work.

I tried to compile opensim using the yum installed mono and nant and I 
got this error:

NAnt 0.85 (Build 0.85.2478.0; release; 10/14/2006)
Copyright (C) 2001-2006 Gerry Shaw
http://nant.sourceforge.net


** (/usr/lib/NAnt/bin/NAnt.exe:25629): WARNING **: The following 
assembly referenced from /usr/lib/NAnt/bin/NAnt.NUnit2Tasks.dll could 
not be loaded:
     Assembly:   nunit.core    (assemblyref_index=4)
     Version:    2.2.10.0
     Public Key: 5545c11907873871
The assembly was not found in the Global Assembly Cache, a path listed 
in the MONO_PATH environment variable, or in the location of the 
executing assembly (/usr/lib/NAnt/bin).


** (/usr/lib/NAnt/bin/NAnt.exe:25629): WARNING **: Could not load file 
or assembly 'nunit.core, Version=2.2.10.0, Culture=neutral, 
PublicKeyToken=5545c11907873871' or one of its dependencies.

** (/usr/lib/NAnt/bin/NAnt.exe:25629): WARNING **: Could not load file 
or assembly 'nunit.core, Version=2.2.10.0, Culture=neutral, 
PublicKeyToken=5545c11907873871' or one of its dependencies.
[loadtasks] Failure scanning "/usr/lib/NAnt/bin/NAnt.NUnit2Tasks.dll" 
for extensions. Could not load file or assembly 'nunit.core, 
Version=2.2.10.0, Culture=neutral, PublicKeyToken=5545c11907873871' or 
one of its dependencies.

BUILD FAILED

The current runtime framework 'mono-2.0' is not correctly configured in 
the NAnt configuration file.
    Unable to locate 'mono' module using pkg-config. Download the Mono 
development packages from http://www.mono-project.com/downloads/.

For more information regarding the cause of the build failure, run the 
build again in debug mode.

Try 'nant -help' for more information


A friend of mine had a 1.9.1 version of mono in a .bin file which he 
installed for me, and it worked flawlessly.  Although this isn't "proof" 
that the yum installed version is broken, it is a strong indication that 
it is.




More information about the fedora-list mailing list