B
Bob Willer
I have a .NET Installer class that gets executed during my installation.
However, that installer class is reliant on an associated .config file. So I
have "MyClass.dll" that is a .NET Installer class. I also have a file
"MyClass.dll.config" that is deployed into the same destination directory.
By doing some testing and using reflection, I have confirmed that the
ExecutingAssembly is "MyClass.dll", and it is executing in the directory
where MyClass.dll.config lives. However, anytime I try to retrieve a value
from the config file, (for example using ConfigurationSettings.AppSettings),
I get an error telling me the section does not exist.
Does anybody have this working, or know of any issues or how to do this?
Thanks,
Bob
However, that installer class is reliant on an associated .config file. So I
have "MyClass.dll" that is a .NET Installer class. I also have a file
"MyClass.dll.config" that is deployed into the same destination directory.
By doing some testing and using reflection, I have confirmed that the
ExecutingAssembly is "MyClass.dll", and it is executing in the directory
where MyClass.dll.config lives. However, anytime I try to retrieve a value
from the config file, (for example using ConfigurationSettings.AppSettings),
I get an error telling me the section does not exist.
Does anybody have this working, or know of any issues or how to do this?
Thanks,
Bob