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
>
I forgot to mention that the top lines of the config file
need to look like this. The PublicKeyToken will change depending on the version
of the .NET framework you are using. It is also possible to use other section
handlers in place of the NameValueSectionHandler.
Derek Pierson
3Leaf Solutions, LLC
[EMAIL PROTECTED]
web.config
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian
Beaudet
Sent: Friday, April 09, 2004 11:24 AM
To: [EMAIL PROTECTED]
Subject: RE: [Nant-users] Config Files?
Eric,
At this point I'm only using Nant to perform test builds and run unit
tests
Why do you have to modify the config files anyway? In the
past this is what I have done.
Created custom config sections in the app.config or
web.config file tied to NameValueHandlers (Google for “custom config
files c#”). Then I create a general section that contains the environment
nam
what I can do
with it.
Thanks,
Brian
> -Original Message-
> From: Eric Fetzer [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 09, 2004 11:07 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [Nant-users] Config Files?
>
> If there are no settings that would vary based on t
]>
To: "'Nant Users'" <[EMAIL PROTECTED]>
Sent: Friday, April 09, 2004 1:19 AM
Subject: RE: [Nant-users] Config Files?
> Eric,
>
> I've started using custom XML files for configuration purposes instead
> of the section in the normal .config files. How wo
o add settings because
you have to add it to multiple files, but it works for me.
Jason
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of
>Brian Beaudet
>Sent: Thursday, April 08, 2004 4:20 PM
>To: 'Nant Users'
>Subject: RE
other third party tool.
Thanks,
Brian
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nant-users-
> [EMAIL PROTECTED] On Behalf Of Eric Fetzer
> Sent: Thursday, April 08, 2004 5:14 PM
> To: [EMAIL PROTECTED]; Nant Users
> Subject: Re: [Nant-users] Config Files?
&
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
at the task next.
Thanks,
Brian
> -Original Message-
> From: Gert Driesen [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 08, 2004 3:30 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [Nant-users] Config Files?
>
> Brian,
>
> What NAnt task are y
t;
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 08, 2004 9:18 PM
Subject: [Nant-users] Config Files?
> 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 programna
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
13 matches
Mail list logo