1

I am getting the following Warnings while running tests using cc.net

c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets (,): warning MSB3245: Could not resolve this reference. Could not locate the assembly "nunit.framework, Version=2.4.8.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. C:\srce\TP\ITTests\ITTests\ITTests\Tests.vb (1,): warning BC40056: Namespace or type specified in the Imports 'NUnit.Framework' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. C:\srce\TP\ITTests\ITTests\ITTests\kingTests.vb (1,): warning BC40056: Namespace or type specified in the Imports 'NUnit.Framework' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.

Tests run: 0, Failures: 0, Not run: 0, Time: 0 seconds
No Tests Run This project doesn't have any tests

Any idea why? as All paths seems to be correct

Kind Regards

skolima
  • 31,963
  • 27
  • 115
  • 151
sam
  • 4,594
  • 12
  • 61
  • 111

2 Answers2

0

The first place to check is your CCNET log file. (Assuming it's enabled) Logs can be found in the same folder as the cruise control program. It may show that you're trying to test a DLL that does not exist. (perhaps you're trying to test a Debug DLL instead of a Release DLL or vice versa)

Myster
  • 17,704
  • 13
  • 64
  • 93
0

Did you install NUnit on the CC.NET server?

leppie
  • 115,091
  • 17
  • 196
  • 297
  • This is a compile-time error. Does this work when you build outside of CruiseControl.NET? What are you calling to do the build in CC.NET (what is in your block?) – bentsai May 13 '09 at 13:39