Re: nant/mono and nunit.core

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2008-06-09 at 12:41 -0700, cwcarlson@xxxxxxx wrote:
> 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/.

I found a 3D package that depended on mono to be "cross-platform", so I
gave it a whirl. It failed pretty much like your's did. So, I went on a
yum spree, and fired up smart package manager and used it's search
function to find every darn Fedora mono rpm package I could find. Then I
installed them all. After all of that, the build still failed. I
researched it some more, and found other packages in tar files that
needed other packages in tar files and it got REALLY wild. So, I gave up
in "Fear and Loathing" of the entire process. Not ready for prime-time
was my own uneducated view. Others mileage may vary. That was just my
experience. Ric
-- 
----------------------------------------------------
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
Linux user# 44256 Sign up at: http://counter.li.org/
http://www.sourceforge.net/projects/oar
https://oar.dev.java.net/
Verizon Cell # 336-254-1339
-----------------------------------------------------

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux