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 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
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
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,
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
?
- 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 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
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
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
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
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.
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
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
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
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
> -
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
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
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
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
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
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
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
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
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]
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
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
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
27 matches
Mail list logo