The App config file when wrking with with a multi project solution

  • Thread starter Thread starter Simon
  • Start date Start date
S

Simon

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
 
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.
 
Back
Top