RE: [Nant-users] Config Files?

2004-04-08 Thread Morris, Jason
Maybe not as elegant of a solution as Eric's, but I just create multiple web.config and app.config files, one for each environment I deploy to. I use the task and a to select the correct *.config file and copy it to the needed location. Might be a little more maintenance if you need to add setti

[Nant-users] NUnit

2004-04-08 Thread Pedro Santos
NAnt does not recognize the tast . I have a target like: And Nant gives me: /home/pre/Projects/orionsbelt/chronos/Chronos.build(64,3): invalid element . Unknown task or datatype. I noticed a NUnit.Core.dll in my nant directory. Am I missing so

RE: [Nant-users] Config Files?

2004-04-08 Thread Brian Beaudet
Eric, I've started using custom XML files for configuration purposes instead of the section in the normal .config files. How would your program be useful in that scenario? The only things I leave in the App.config file (or Web.config) would be configuration settings for log4net or some other th

RE: [Nant-users] NUnit

2004-04-08 Thread Markel, Kris
You should also have these dlls in your bin directory: NAnt.NUnit.dll NAnt.NUnit1Tasks.dll NAnt.NUnit2Tasks.dll If any of these are missing, the NUnit tasks won't run. -k -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Pedro Santos Sent: Thursday, April 08,

Re: [Nant-users] NUnit

2004-04-08 Thread Pedro Santos
On Thu, 2004-04-08 at 22:51, Jaroslaw Kowalski wrote: > ? /home/pre/Projects/orionsbelt/chronos/Chronos.build(72,3): invalid element . Unknown task or datatype. -- Pedro Santos "Si minor plus est ergo nihil sunt omnia..." signature.asc Description: This is a digitally signed message part

Re: [Nant-users] NUnit

2004-04-08 Thread Jaroslaw Kowalski
? - Original Message - From: "Pedro Santos" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 08, 2004 11:33 PM Subject: [Nant-users] NUnit --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutori

[Nant-users] NUnit

2004-04-08 Thread Pedro Santos
NAnt does not recognize the tast . I have a target like: And Nant gives me: /home/pre/Projects/orionsbelt/chronos/Chronos.build(64,3): invalid element . Unknown task or datatype. I noticed a NUnit.Core.dll in my nant directory. Am I missing s

[Nant-users] NDoc and the assembly .xml file containing doc

2004-04-08 Thread Michael A. Angelo
Anyone have any idea how to generate the .xml file that ndoc needs to go along with the .dll file? My goal here is to pull source from source control, compile, and then generate the documentation with the task. I get the .xml file when I build from VS of course, but not when I automate using the

Re: [Nant-users] Config Files?

2004-04-08 Thread Eric Fetzer
I deploy to several different environments with settings in my app.config as well as web.config files that vary (such as paths to a file share or database connection string). So I wrote a C# program that based on an XPath (mapping in the xml file), substitutes the appropriate value. I call this f

Re: [Nant-users]

2004-04-08 Thread Gert Driesen
Michael, What version of NAnt are you using ? Can you try using the latest nightly build (http://nant.sourceforge.net/nightly/builds) and report back ? Thanks, Gert - Original Message - From: "Michael A. Angelo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 08, 2004

Re: [Nant-users] NANT Maladies

2004-04-08 Thread Jaroslaw Kowalski
The latest release is 0.84, the release process of 0.85 should begin shortly. I've noticed your directory contains "0.8.3" string - so I thought you were running an outdated version. In general I recommend nightly builds as they are usually as stable as official releases and often fix many bugs.

Re: [Nant-users] NANT Maladies

2004-04-08 Thread Martin Gainty
Jaroslaw: http://sourceforge.net/project/showfiles.php?group_id=31650&package_id=23704 &release_id=206082 indicates release candidate is 0.84. Is there a later release candidate maybe not yet posted? dziekuje, Martin - Original Message - From: "Jaroslaw Kowalski" <[EMAIL PROTECTED]> To: "Ma

[Nant-users]

2004-04-08 Thread Michael A. Angelo
This task is not working! I get an error no matter how I try to use the solution task. INTERNAL ERROR System.NullReferenceException: Object reference not set to an instance of an obj ect. at NAnt.VSNet.Reference..ctor(Solution solution, ProjectSettings ps, XmlEleme nt elemReference, SolutionTa

RE: [Nant-users] Class Files All Over The Place

2004-04-08 Thread Noel Gifford
Brian,   What are you attempting to accomplish with the tag ?   For any tag that accepts a sub-element of , you can do the following               The ** specifies to look in all subdirectories for the matching pattern.  Read the following page for m

RE: [Nant-users] Config Files?

2004-04-08 Thread Brian Beaudet
Gert, I'm using the task only because I'm baby stepping Nant and I haven't gotten to the task yet. I'm just as happy as a pig in the mud that I'm able to get a successful build at this point. But I'm expanding my horizons and I think I'll take a look at the task next. Thanks, Brian > -

Re: [Nant-users] Config Files?

2004-04-08 Thread Gert Driesen
Brian, What NAnt task are you using to build the assemblies ? If you're using the task, then I have good news for you : I've just added support for deploying the application configuration file to the output directory to cvs. I'll upload a new nightly build (http://nant.sourceforge.net/nightly/bu

[Nant-users] Config Files?

2004-04-08 Thread Brian Beaudet
I hate to think I’m posting the same old questions but I’ve searched and haven’t found much out there on this topic.  What do others do to create a programname.exe.config file from their App.config.  Is it as simple as a task?  That’s what I’m doing now.  I don’t keep much in the App.confi

[Nant-users] Class Files All Over The Place

2004-04-08 Thread Brian Beaudet
If I keep my *.cs files in different directories, is there a way to use to recursively include all *.cs files in those subdirectories?   Brian M. Beaudet Director, Research & Development EfficiencyLab, LLC www.efficiencylab.com  

Re: [Nant-users] REPOST: 0.85 stable release

2004-04-08 Thread Scott Hernandez
Hi Steve, The short answer is that people seem to be busy, and therefore there is no immediate plan for a release. This means that a release may be a while off. I think, based on the feedback we have from our nightly builds, that we should probably put out a beta 1 of .85. This could be, for all e

RE: [Nant-users] Compiling with .NET Framework 1.1

2004-04-08 Thread Brian Beaudet
Title: Message     -Original Message- From: Brian Beaudet [mailto:[EMAIL PROTECTED] Sent: Thursday, April 08, 2004 2:47 PM To: 'Clayton Harbour' Subject: RE: [Nant-users] Compiling with .NET Framework 1.1   Thanks Clayton.   I’m not quite ready to start learning the switch

Re: [Nant-users] REPOST: 0.85 stable release

2004-04-08 Thread Jaroslaw Kowalski
Answer I got from Gert: > Hi Gert! > > Do we have any date set for the 0.85 release? No, not yet. I'll think about it, and see if I can create a to-do list for the 0.85 release. Gert - what do you think about releasing nant 0.85 around 1st of May? I think we can get the expression evaluator issu

RE: [Nant-users] Compiling with .NET Framework 1.1

2004-04-08 Thread Clayton Harbour
Title: Message Hi,   You can use the -k switch to specify a different framework.  So it would look like:     nant -k:net-1.1   for the 1.1 framework.  NAnt has a number of useful command line switches (such as -projecthelp), to see a list use     nant -help     Cheers,     Clayton

[Nant-users] REPOST: 0.85 stable release

2004-04-08 Thread stj3571-nant
Hello, This is a repost, as my prior messages went unanswered. Can the NAnt project leads please indicate if there is any plan for an official/stable release of 0.85? Kindly reply -- my team will be most appreciative. If I have violated the netiquette of this SF list, please let me know. Regar

RE: [Nant-users] Compiling with .NET Framework 1.1

2004-04-08 Thread Bob Archer
I put this as the first line of my build script.            I think there are a few other ways to do it also.   Bob     From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Beaudet Sent: Thursday, April 08, 2004 2:18 PM To: [EMAIL PROTECTED]

[Nant-users] Compiling with .NET Framework 1.1

2004-04-08 Thread Brian Beaudet
How do I tell NAnt to use the CSC.exe for the .NET Framework 1.1 instead of 1.0?  I’m attempting to use Nant on a machine that does not have 1.0 installed.   Brian M. Beaudet Director, Research & Development EfficiencyLab, LLC www.efficiencylab.com  

Re: [Nant-users] NANT Maladies

2004-04-08 Thread Jaroslaw Kowalski
I presume you're using some pre-dinosaur Nant version. Can you download the latest stable build and try again? In general you should invoke nant in a directory where "nant.build" is located not in the subdirectories. Jarek - Original Message - From: "Martin Gainty" <[EMAIL PROTECTED]> T

[Nant-users] NANT Maladies

2004-04-08 Thread Martin Gainty
I am a newbie to NANT and wanted to see if i could get it working C:\Nant\nant-0.8.3.50105\tests\NAnt.Win32>nant Unhandled Exception: System.TypeInitializationException: The type initializer fo r "NAnt.Console.ConsoleStub" threw an exception. ---> System.TypeInitializationE xception: The type i