merging app.config files

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?
 
M

Mary Chipman [MSFT]

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
 

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