[Banshee-List] Banshee and NUnit
- From: Michel Alexandre Salim <michael silvanus gmail com>
- To: banshee list <banshee-list gnome org>
- Subject: [Banshee-List] Banshee and NUnit
- Date: Fri, 2 Oct 2009 23:11:06 -0400
Hi,
At Fedora, we turned on unit tests in our Banshee builds a few months
ago. This, however, is resulting in NUnit being referenced as
dependency by one of Banshee's assemblies.
$ rpm -e mono-nunit | grep banshee
mono(nunit.framework) = 2.4.8.0 is needed by (installed)
banshee-1.5.1-0.3.git20090917.fc12.x86_64
If I force-remove mono-nunit (despite the dependency), and then run
Banshee, I get the error below. Surely the build process for Hyena.dll
should not be linking it against NUnit unnecessarily?
Thanks,
--
Michel
[snip]
** (Banshee:24673): WARNING **: Could not load file or assembly
'nunit.framework, Version=2.4.8.0, Culture=neutral,
PublicKeyToken=96d09a1eb7f44a77' or one of its dependencies.
** (Banshee:24673): WARNING **: Missing method .ctor in assembly
/usr/lib64/banshee-1/Hyena.dll, type
NUnit.Framework.TestFixtureAttribute
** (Banshee:24673): WARNING **: Can't find custom attr constructor
image: /usr/lib64/banshee-1/Hyena.dll mtoken: 0x0a0004c9
Unhandled Exception: System.TypeInitializationException: An exception
was thrown by the type initializer for Mono.Data.Sqlite.SqliteFunction
---> System.IO.FileNotFoundException: Could not load file or assembly
'nunit.framework, Version=2.4.8.0, Culture=neutral,
PublicKeyToken=96d09a1eb7f44a77' or one of its dependencies.
File name: 'nunit.framework, Version=2.4.8.0, Culture=neutral,
PublicKeyToken=96d09a1eb7f44a77'
--
Michel Alexandre Salim
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]