based on the terminology you are using i'm assuming

.Net 2.0 and ClickOnce

sounds like you need to build multiple times and "touch" the app.config
between each build.

You could probably create a nant script to touch the app.config between
builds.
I can't find it now, but i have seen a blog posting about setting up the
following:
Multiple build configurations...so  instead of the standard "Debug" and
"Release", you create "Config1-Debug", "Config1-Release", "Config-2Debug",
"Config2-Release"....etc.
in your project...create multiple app.config files named something like

app.config.config1
app.config.config2
app.config.config3
app.config.config4

use pre-build scripts to copy the appropriate app.config.config{n} to the
app.config file (overwrite it each time).
you would also need to use pre-build scripts to touch up the publish
settings for each configuration.





-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] Behalf Of Mark Nicholls
Sent: Wednesday, October 31, 2007 12:00 PM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: [ADVANCED-DOTNET] publishing the same app twice.....


obviously I can publish to multiple places....but what if I want the
app.config to be different for the diffent installs.....

Am I missing something?

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to