|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
merging app.config filesI 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 Show quote On 4 Apr 2006 16:56:23 -0700, "zuhx" <zuh***@yahoo.com> wrote: >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? |
|||||||||||||||||||||||