Bryan Kearney wrote:
Ted Ross wrote:
I'm trying to run the tests in the dotnet/client-010 directory. I'm
running Fedora-10 (x86_64). There's an ominous looking warning up
front and then the tests fail at the end.
Does anyone have any advice as to what my installation and
configuration should be to make this work correctly?
Thanks,
-Ted
$ nant -t:mono-2.0 test
NAnt 0.85 (Build 0.85.2478.0; release; 10/14/2006)
Copyright (C) 2001-2006 Gerry Shaw
http://nant.sourceforge.net
** (/usr/lib64/NAnt/bin/NAnt.exe:29937): WARNING **: The following
assembly referenced from /usr/lib64/NAnt/bin/NAnt.NUnit2Tasks.dll
could not be loaded:
Assembly: nunit.core (assemblyref_index=4)
Version: 2.2.10.0
Public Key: 3030e722faf3452f
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/lib64/NAnt/bin).
** (/usr/lib64/NAnt/bin/NAnt.exe:29937): WARNING **: Could not load
file or assembly 'nunit.core, Version=2.2.10.0, Culture=neutral,
PublicKeyToken=3030e722faf3452f' or one of its dependencies.
** (/usr/lib64/NAnt/bin/NAnt.exe:29937): WARNING **: Could not load
file or assembly 'nunit.core, Version=2.2.10.0, Culture=neutral,
PublicKeyToken=3030e722faf3452f' or one of its dependencies.
[loadtasks] Failure scanning
"/usr/lib64/NAnt/bin/NAnt.NUnit2Tasks.dll" for extensions. The
classes in the module cannot be loaded.
.
.
.
test:
[echo] Running all pure unit tests.
[nant] /home/ross/svn/qpid/dotnet/client-010/test/default.build test
Buildfile:
file:///home/ross/svn/qpid/dotnet/client-010/test/default.build
Target framework: Mono 2.0 Profile
Target(s) specified: test
build:
test:
BUILD FAILED
/home/ross/svn/qpid/dotnet/client-010/test/default.build(49,11):
Invalid element <nunit2>. Unknown task or datatype.
Total time: 0 seconds.
BUILD FAILED
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]
Try this:
export MONO_PATH=$MONO_PATH:/usr/lib/mono/nunit22/
before running nant.
-- bk
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]
Thanks, that solves the problem.
-Ted
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]