Multiple Configuration Files

  • Thread starter Thread starter UJ
  • Start date Start date
U

UJ

I've got two apps that need to share a configuration file. How can I do
that? It seems like ConfigurationSettings has built in to it to figure out
the name of the file.
 
UJ,

You will need to copy the file and then name it appropriately (your
app.exe.config).

However, what you could do is create a custom configuration section for
your apps, and then have the config files for each app have a reference to a
shared file, then read those settings.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top