[Pkg-mono-devel] MonoDevelop.NUnit.dll
Kent Loobey
kent at uoregon.edu
Wed Mar 1 15:21:03 UTC 2006
I get the following error whenever I try to run monodevelop.
==============================================
~/projects/mono/samples/chapter1$ monodevelop
** (MonoDevelop:11789): WARNING **: The following assembly referenced
from /usr/lib/monodevelop/AddIns/NUnit/MonoDevelop.NUnit.dll could not be
loaded:
Assembly: nunit.core (assemblyref_index=11)
Version: 2.2.0.0
Public Key: 96d09a1eb7f44a77
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/monodevelop/bin/../AddIns/NUnit).
** (MonoDevelop:11789): WARNING **: The class NUnit.Core.IFilter could not be
loaded, used in nunit.core, Version=2.2.0.0, Culture=neutral,
PublicKeyToken=96d09a1eb7f44a77
** ERROR **: file class.c: line 2100 (mono_class_init): assertion failed:
(class)
aborting...
~/projects/mono/samples/chapter1$
==============================================
I have a copy of MonoDevelop.NUnit.dll:
/usr/lib/monodevelop/AddIns/NUnit$ ls -l
total 116
-rw-r--r-- 1 root root 6025 2005-11-26 11:49 MonoDevelopNUnit.addin.xml
-rw-r--r-- 1 root root 103936 2005-11-26 11:49 MonoDevelop.NUnit.dll
/usr/lib/monodevelop/AddIns/NUnit$
On http://www.monodevelop.com/Troubleshooting it says the following:
Debian users only
Install the nunit and libnunit-cil packages (requires unstable at this
moment). Due to the separate packaging of nunit, we need to make a symlink so
that monodevelop knows where to find the pkg-config file.
ln -s /usr/lib/pkgconfig/nunit.pc /usr/lib/pkgconfig/mono-nunit.pc
I did this and it makes no difference.
The following is a list of my nunit and libnunit-cil versions:
/usr/lib/pkgconfig# apt-cache policy nunit
nunit:
Installed: 2.2.6-1
Candidate: 2.2.6-1
Version Table:
*** 2.2.6-1 0
500 cdrom://2006-02-27 Debian 2 of 3 unstable/main Packages
500 cdrom://2006-02-20 Debian 2 of 3 unstable/main Packages
50 ftp://debian.osuosl.org unstable/main Packages
500 ftp://debian.osuosl.org testing/main Packages
100 /var/lib/dpkg/status
/usr/lib/pkgconfig# apt-cache policy libnunit-cil
libnunit-cil:
Installed: 2.2.6-1
Candidate: 2.2.6-1
Version Table:
*** 2.2.6-1 0
500 cdrom://2006-02-27 Debian 2 of 3 unstable/main Packages
500 cdrom://2006-02-20 Debian 2 of 3 unstable/main Packages
50 ftp://debian.osuosl.org unstable/main Packages
500 ftp://debian.osuosl.org testing/main Packages
100 /var/lib/dpkg/status
Is the problem that nunit.core is looking for a different version of
MonoDevelop.NUnit.dll?
Do you have any suggestions I might follow to get MonoDevelop to work?
Thanks in advance for any help you might offer.
Kent
More information about the Pkg-mono-devel
mailing list