Hi, I've installed CC.net on a server machine and successfulyl tied it in to SVN so that it builds on SVN changes and runs some simple Nunit tests. While setting it all up, I was using a small C# application that was compiled in the Nant script using the <csc> tag without any problems.

However, I'm now trying to get the setup working with some more substantial projects I'm encountering some problems. Instead of using <csc> to compile a simple helloworld.cs program, I'm trying to build entire solutions. After some searching I'm using some code like the following:

<loadtasks assembly="C:/Program Files/nant-0.85/bin/NAnt.Contrib.Tasks.dll" />
      <buildArgs>/noconsolelogger /p:Configuration=Debug /v:diag</buildArgs>
      <logger>C:\Program Files\CruiseControl.NET\server\ThoughtWorks.CruiseControl.MsBuild.dll</logger>   
but I keep getting the following error message:
[loadtasks] Failure scanning "C:\Program Files\nant-0.85\bin\NAnt.Contrib.Tasks.
dll" for extensions. Unable to load one or more of the requested types. Retrieve
 the LoaderExceptions property for more information.
Buildfile: file:///C:/Development/eChameleon_Suite/Trunk/eChameleon/app.build
Target framework: Microsoft .NET Framework 2.0
Target(s) specified: build


     [echo] Started building
[loadtasks] Scanning assembly "NAnt.Contrib.Tasks" for extensions.


Failure scanning "C:\Program Files\nant-0.85\bin\NAnt.Contrib.Tasks.dll" for ext
    Unable to load one or more of the requested types. Retrieve the LoaderExcept
ions property for more information.

I've downloaded the Nant.contrib package and tried copying it to both Nant\bin folder, and also on another occasion to some sub-folders of Nant (tasks\net and somewhere else)
Can anyone tell me what I'm doing wrong?

Many thanks


View your other email accounts from your Hotmail inbox. Add them now.