nant/mono and nunit.core

cwcarlson at cox.net cwcarlson at cox.net
Mon Jun 9 19:41:52 UTC 2008


I'm sorry if this questions is something that has been answered, but I don't know how to find previous threads, and my search of FAQs and Google is not returning anything useful.

I'm trying to compile something with nant/mono, and I keep getting the following error.  I don't know what to do about it.  I'm running Fedora 9, and I believe I have yum update on everything.


-----------------------
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:21853): 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:21853): 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:21853): 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
------------------------------------

I'm a developer, so I can do some research and coding changes, but I have no idea where to even start with this.  I'm not knowledgable on nant or mono (it's someone else's code), but it seems to run on Fedora 8.

Thanks for any pointers or hints.

Chris




More information about the fedora-list mailing list