App Config for an Assembly that is a COM Server App

  • Thread starter Thread starter Guest
  • Start date Start date
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?
 
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.
 
Back
Top