- I have .NET assembly with some classes marked as
ComVisible
- This assembly is registered with
regasm /codebase "assembly_path"
- I have app.config name (actually -
MyAssemblyName.dll.config
) which are in assembly's folder - I access to appSettings in my assembly through
ConfigurationManager.AppSettings["SettingName"]
- I have VBScript file which creates my COM object through
CreateObject("...")
- When object is created (from VBScript),
ConfigurationManager.AppSettings["SettingName"]
returns null. It looks like assembly doesn't see config file.
What should I to do to make it workable?