App Config for an Assembly that is a COM Server App

G

Guest

I have a DLL called "GacMe.dll", and would like to read Configuration
settings from it. For instance:
strRole = System.Configuration.ConfigurationSettings.AppSettings("Role")

Question:
In MSDN, I see instructions for creating an AppConfig file for executables
and for Web apps. I do not see where to put (or what to name) a config file
for a DLL running as a COM Server App (and thus running as DLLHost.exe).
What should this file be named and in what directory should it be placed?
 
G

Guest

Thank you Adam - this works perfectly. It boils my blood that MS doesn't
document solutions like this. Arrgggghhh! Thank the gods for the user
community.
 

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