settings.settings ??

S

Søren M. Olesen

Hi

How is the settings.settings supposed to be used???

If I add it to a class library, I get a app.config file with a
<applicationSettings> section, containing my settings. However if I include
this class library in a web-project, it seems like I have to copy this
<applicationSettings> settings into the web.config file of my web.config
file if I want to override some of the settings....
Now I have quite a number of Class libraries, each with it own different set
of settings, and I use these libraries in a number of projects, so I quite a
taks to make sure all <applicationSettings> sections are in all the right
places....

Isn't there a way to put all the settings into one file and then refer to
this file with something like:

<applicationSettings file="commom.config" />
or something similar???

TIA

Søren
 
S

Søren M. Olesen

Thanks for your reply...however using the files="..." option seems to only
work for the <appSettings> section, not the <applicationSettings>...kind of
wierd though....

Regards,

Søren
 

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

Top