Extending app.config with addtional config

  • Thread starter Thread starter Yash
  • Start date Start date
Y

Yash

Hi,

All configuration used by a .NET program goes in the app.config file.
Is it possible to add configuration from another config file so that
the program runs with an extended configuration?

For. e.g. Myapp.exe has app.config. I also have myfile.config which
follows the config file structure. I want .NET to consider app.config
and add to it the configuration I give in myfile.config.

What does it take to do this?

Thanks,
Yash
 
In my case, the main application invokes my DLL. I would like to add
my configuration from the code in my DLL, without changing the main
application's config.
The main app calls an initialize function in my dll. This is where I
would like to ammend the configuration the program has read from
app.config.
 
You can look here, but that is 1.1 stuff I think:
http://www.bearcanyon.com/dotnet/#AssemblySettings


In my case, the main application invokes my DLL. I would like to add
my configuration from the code in my DLL, without changing the main
application's config.
The main app calls an initialize function in my dll. This is where I
would like to ammend the configuration the program has read from
app.config.
 
Back
Top