ok, here's my question. I have a class ConfigServer that has the
following method:
public string FindByKey(string key)
{
try
{
return ConfigurationManager.AppSettings[key].ToString();
}
catch (Exception ex)
{
return ex.Message;
}
}
I also have a config file named MyAppName.dll.config (same as the output
dll).
I have this dll installed in the gac and located in a specific folder on
my machine with the config file.
I want this application to basically be used by various other
applications to read in settings. When I reference the dll from an a
different solution, I get and call this method, I get "Object reference
not set to an instance of an object".
Any thoughts?
Thanks!
*** Sent via Developersdex http://www.developersdex.com ***