C# deploying DLL Config files

I have a C# .Net application deployed through ClickOnce deployment.  It consists of an .EXE component and a number of DLL components.  Many of the DLL components have configuration settings which produce a DLL.Config file in Visual Studio.  However, when I publish the application, the DLL.Config files do not get deployed.  Somehow the DLLs know what the configuration settings were.  My questions are, how do the DLLs know what the settings are and is there a way to deploy the DLL.Config files so that they can be modified outside the development environment?
pwigintonAsked:
Who is Participating?
 
hdesoukyCommented:
for dlls configuration can' be in there separate dll.config, since the dotnet framekwork will try to locate these dlls configuration in the main application running.

To solve this merge your dlls configuration enties in your main application configuration file.

to do this insert the dlls configuration sections to the applicaiton configuration sections and add the dll configuration settings to the application confiugration node
0
 
silemoneCommented:
well you can use the publish option and can publish with option to leave files editable...then you would move the folder over manually...
0
 
pwigintonAuthor Commented:
Thanks for your reply.  Could you elaborate with a little more detail on your recommended approach?
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
silemoneCommented:
this is for a web app?
using vs2005 or 2008?

0
 
pwigintonAuthor Commented:
It is a Windows app using VS 2008.
0
 
silemoneCommented:
oops...my way is for web apps...
0
 
silemoneCommented:
with clickonce, i think it was made for convenience with the removal of some functionality such as allowing editable code.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.