Groups | Blog | Home
all groups > dotnet general > december 2004 >

dotnet general : The App config file when wrking with with a multi project solution


Peter Rilling
12/2/2004 2:07:50 PM
I do not think that one config file can be used by more then one
application. Remember, the config file has to be named the same as program
for it to load.

[quoted text, click to view]

Simon
12/2/2004 7:32:35 PM
Hi all,

When you make a solution that contains numerous projects - where should you
put the configuration file that should be used for the application?

Example:

An application called MyApp has 4 projects each contained within their own
subdirectories. Each project outputs its dll to its own bin directory.

The folder structure is:

MyApp
- MyProject 1
- MyProject 2
- MyProject 3
- MyProject 4

Where should I put the config file so that all the projects access it?

Is it even possible to have a single config file shared amongst multiple
projects? I'm sure it is - I just can't find any details on how to do it.

If anyone has any advice on this I would appreciate it very much

Thanks in advance everyone

Simon

AddThis Social Bookmark Button