[Nant-users] Adding a custom logger

2003-03-28 Thread Erik A Saltwell
I have written a class that derives from both IBuildEventListener & LogListener.  This class is compiled into its own assembly (dll).  What is the right way to get NAnt to use that listener?  I tried using –logger: on the command line, but it does not know which assembly contains the new li

Re: [nant-dev] [Nant-users] How to use nunit2 task (resend)

2003-03-28 Thread Matthew Mastracci
Make sure that you're using the same version of NUnit for linking your test assemblies that NAnt uses. You'll get this error if there is a mismatch. I'm not sure what we can do to fix the issue of linking against the wrong NUnit, but I'm guessing that this is what the problem is. Anthony Fran

RE: [nant-dev] [Nant-users] How to use nunit2 task (resend)

2003-03-28 Thread Philip Nelson
Can you run the NUnit gui correctly? Is it installed under "Program Files" or somewhere else? Have you tried setting the assembly reference in your test project to the assembly in the NAnt/bin directory? It almost has to be mismatched dlls. --- Anthony Francisco <[EMAIL PROTECTED]> wrote: > Ac

RE: [Nant-users] NAnt 0.8.1.0 Compile Error

2003-03-28 Thread Wang, Gang
Ian, Your idea gave us the hint! The path and everything we specify in the build in here is case-sensitive. It works fine now. Thanks. -Original Message- From: Ian MacLean [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 7:32 PM To: Wang, Gang Cc: [EMAIL PROTECTED] Subject: Re:

RE: [nant-dev] [Nant-users] How to use nunit2 task (resend)

2003-03-28 Thread Anthony Francisco
Thank you Arnaud! You're suggestion didn't fix my problem, but it did help me determine the source of the problem. The assemblyname property of the test element wants a full path. It doesn't like relative paths. - Ants | -Original Message- | From: [EMAIL PROTECTED] | [mailto:[EMAIL PRO

RE: [nant-dev] [Nant-users] How to use nunit2 task (resend)

2003-03-28 Thread Anthony Francisco
Yup, I tried that as my first attempt to solve the problem. I wasn't as fortunate as you were. :-( - Ants | -Original Message- | From: Arnaud PICHERY [mailto:[EMAIL PROTECTED] | Sent: Friday, 28 March, 2003 15:11 | To: 'Anthony Francisco' | Cc: [EMAIL PROTECTED] | Subject: RE: [nant-dev]

RE: [nant-dev] [Nant-users] How to use nunit2 task (resend)

2003-03-28 Thread Arnaud PICHERY
I have encountered the same problem and solved it by copying the nunit.framework.dll Assembly from the nant directory to the directory where my assembly containing the test cases resides. Here are extracts from my build file:

RE: [nant-dev] [Nant-users] How to use nunit2 task (resend)

Yes, I can run the Nunit gui correctly. I've run the unit tests against my projects without any problems. As a sanity check, I also built a debug build of Nant and run the unit tests using build nunit-gui.exe and nunit-console.exe on: Nant.dotnettasks.tests.dll Nant.core.tests.dll

RE: [nant-dev] [Nant-users] How to use nunit2 task (resend)

Actually that was the first thing that I checked. The only file with the same filename that I could find between my nant\bin and nunit\bin directories was nunit.framework.dll. Doing a binary file compare between the two files indicated a perfect match. - Ants | -Original Message- | From:

[Nant-users] Re: Error in NAnt

Yeah, there was a check to make sure that you didn't operate the delete task on anything too close (ie c:\, c:\windows) to the root of a drive. This restriction has been removed (as of 2/25/03). Please use the latest stable build (nant.sf.net/builds) or the latest release version 0.8.1. I have fo

[Nant-users] Getting console output from devenv.exe with task

Title: Getting console output from devenv.exe with task I use "devenv" commandline="MySolution.sln /build Debug" verbose="true" /> to build a .sln file. When running nant.exe console output from devenv.exe isn't being displayed at all. NAnt seem to swallow all output from devenv.exe process

[Nant-users] Adding a custom logger

I have written a class that derives from both IBuildEventListener & LogListener.  This class is compiled into its own assembly (dll).  What is the right way to get NAnt to use that listener?  I tried using –logger: on the command line, but it does not know which assembly contains the new li