[Mono-list] Can't build NUnit testing project

Alexander M. Batishchev abatishchev at godfather.net.ru
Fri Feb 4 13:56:44 EST 2011

Hi, everybody.

I have a complex solution (developed under Windows, deployed under
GNU\Linux) with a number of unit-testing projects, using NUnit 2.9.3.

Here's a reference from project:


<Reference Include="nunit.framework, Version=, Culture=neutral,
PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
  <HintPath>..\..\..\..\..\Program Files\NUnit


I downloaded and built NUnit 2.9.3 from

$ xbuild solutions/MonoDevelop/NUnit.Framework.sln /p:Configuration=Release


and installed into GAC:

$ gacutil /i solutions/MonoDevelop/bin/Release/nunit.framework.dll
$ gacutil /l nunit.framework

The following assemblies are installed into the GAC:
nunit.framework, Version=, Culture=neutral,
Number of items = 1


and deleted local mono nunit installation:

$ rm /usr/lib/mono/2.0/nunit*
$ rm /usr/lib/mono/4.0/nunit*


but when I try to build my solution:

$ xbuild MySolution.sln | grep error
: error CS0006: Metadata file `/usr/lib/mono/2.0/nunit.framework.dll' could
not be found


What do I wrong?


Thanks in advance,


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20110204/bb26d66c/attachment.html 

More information about the Mono-list mailing list