S
Simon Hart
Hi,
I want to use the ConfigurationSettings.AppSettings from within a .NET class
library that gets called. If using the above class, what would the name of
the config file be? would this be the name of the DLL that is calling it as
per a Windows EXE ie : myexe.exe.config.
I have named my Xml file mydll.dll.config where mydll is the name of my
class library, but it doesn't seem to work.
The config file is correct ie:
<configuration>
<appSettings>
<add key="IP" value="Myip"/>
</appSettings>
</configuration>
I have never had a problem with using ConfigurationSettings in for example
ASP.NET and normal WinForm executables, but have never had a requirement up
until now.
To clear up any confusion, the class library gets called from MS CRM 3.0.
Regards
Simon.
I want to use the ConfigurationSettings.AppSettings from within a .NET class
library that gets called. If using the above class, what would the name of
the config file be? would this be the name of the DLL that is calling it as
per a Windows EXE ie : myexe.exe.config.
I have named my Xml file mydll.dll.config where mydll is the name of my
class library, but it doesn't seem to work.
The config file is correct ie:
<configuration>
<appSettings>
<add key="IP" value="Myip"/>
</appSettings>
</configuration>
I have never had a problem with using ConfigurationSettings in for example
ASP.NET and normal WinForm executables, but have never had a requirement up
until now.
To clear up any confusion, the class library gets called from MS CRM 3.0.
Regards
Simon.