Since I come from the Java world, I am trying to set my builds up just like java so no one would have to install NUnit, Nant, Nant-contrib so I can upgrade things without anybody flinching(or even knowing most of the time). Because I didn't install NUnit, I get the following error that tells me to report it to this list.

So, nunit is there and referred to in my build.xml, but I get the following error. If developers install NUnit, the error goes away. But when I upgrade, it comes back and all 20 developers yell at me for having to upgrade again. Any help here would be appreciated. Please cc me as I am not on this list. Both nant error and snippet from local.build file are below.
thanks,
dean

BUILD ERROR FROM NANT*****************************************

nunit:


BUILD FAILED

INTERNAL ERROR

System.IO.FileNotFoundException: File or assembly name nunit.core, or one of its
dependencies, was not found.
File name: "nunit.core"
  at NAnt.NUnit2.Tasks.NUnit2Task.ExecuteTask()
  at NAnt.Core.Task.Execute()
  at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
  at NAnt.Core.Project.Execute()
  at NAnt.Core.Project.Run()

=== Pre-bind state information ===
LOG: DisplayName = nunit.core, Version=2.2.0.0, Culture=neutral, PublicKeyToken=
96d09a1eb7f44a77
(Fully-specified)
LOG: Appbase = c:\AROOT\views\workviews\framework2\input\tools\nant\
LOG: Initial PrivatePath = NULL
Calling assembly : NAnt.NUnit2Tasks, Version=0.85.1869.0, Culture=neutral, Publi
cKeyToken=null.
===

LOG: Private path hint found in configuration file: lib.
LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from C:\WINNT\Microsoft.NET\Framework\v1.1
.4322\config\machine.config.
LOG: Post-policy reference: nunit.core, Version=2.2.0.0, Culture=neutral, Public
KeyToken=96d09a1eb7f44a77
LOG: Attempting download of new URL file:///c:/AROOT/views/workviews/framework2/
input/tools/nant/nunit.core.DLL.
LOG: Attempting download of new URL file:///c:/AROOT/views/workviews/framework2/
input/tools/nant/nunit.core/nunit.core.DLL.
LOG: Attempting download of new URL file:///c:/AROOT/views/workviews/framework2/
input/tools/nant/lib/nunit.core.DLL.
LOG: Attempting download of new URL file:///c:/AROOT/views/workviews/framework2/
input/tools/nant/lib/nunit.core/nunit.core.DLL.
LOG: Attempting download of new URL file:///c:/AROOT/views/workviews/framework2/
input/tools/nant/nunit.core.EXE.
LOG: Attempting download of new URL file:///c:/AROOT/views/workviews/framework2/
input/tools/nant/nunit.core/nunit.core.EXE.
LOG: Attempting download of new URL file:///c:/AROOT/views/workviews/framework2/
input/tools/nant/lib/nunit.core.EXE.
LOG: Attempting download of new URL file:///c:/AROOT/views/workviews/framework2/
input/tools/nant/lib/nunit.core/nunit.core.EXE.


Please send bug report to [EMAIL PROTECTED]

Total time: 2 seconds.


LOCAL.BUILD FILE*************************************

   <target name="nunit" depends="compile">
       <nunit2>
           <formatter type="Plain" />
           <test assemblyname="${assemblies}/${comp.name}"/>
       </nunit2>
   </target>

thanks,
dean



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to