merging app.config files

  • Thread starter Thread starter zuhx
  • Start date Start date
Z

zuhx

I am trying to access ApplicationSettings defined in one project from
another. However it doesn't seem like I can do this. I am trying to
set the ConnectionString in the app.config of the executable project
and be able to reference in all the other projects of the solution.
One answer I found suggested on this message board was to merge the
app.config of the other projects with the app config of the executable
project. How do I go about doing this?
 
Providing I understand your question correctly, you can merge
app.config files by copying and pasting the sections you want into one
physical file. When the app is compiled, it gets placed in the same
directory as the executable.

--Mary
 
Back
Top