I've recently upgraded to NAnt 0.8.2 and have seen a change in behaviour
with the nunit2 task.  My build file contains:

<target name="common-test">
  <nunit2 basedir="${nant.project.basedir}">
    <test
assemblyname="${nant.project.basedir}/${build.dir}/${component-filename}"
type="Plain" fork="true" />
  </nunit2>
</target>

The component assembly being tested has an app.config file which also
specifies an additional probe path for dependent assemblies:

<runtime> 
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> 
      <probing privatePath="deps;"/> 
    </assemblyBinding> 
</runtime> 
  
When nunit2 runs the tests within the component assembly it complains that
it can't find the dependent assemblies (which are to be found under the deps
subdirectory).  Doesn't nunit2 support private probe paths in the
app.config?  Using the NUnit GUI the tests run fine.

I've tried last night's snapshot (0.8.3 ?) and this exhibits the same
behaviour.



Darren Syzling
mailto:[EMAIL PROTECTED]
-------------------------------------------
This message may contain information which is confidential or privileged.
If you are not the intended recipient, please advise the sender immediately
by reply e-mail and delete this message and any attachments without
retaining a copy. 




-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to