I've built an assembly in c# which I've exposed to Component Services. Within this assembly i'm wanting to use something like Log4Net to do error logging etc.
My problem is I can't seem to be able to get this thing to see the configuration file. I've added an app.config to the project and when I build its generating the projectname.dll.config file but if I use something like ConfigurationManager to assess the AppSettings all I get is invalid pointer.
Doesn't seem to be able to pick anything up.
However if I add a settings file to my project and insert some settings values in their (which appends the setting to the app.config file) I can use the settings object to access the properties.
Any ideas what's going on here?
My problem is I can't seem to be able to get this thing to see the configuration file. I've added an app.config to the project and when I build its generating the projectname.dll.config file but if I use something like ConfigurationManager to assess the AppSettings all I get is invalid pointer.
Doesn't seem to be able to pick anything up.
However if I add a settings file to my project and insert some settings values in their (which appends the setting to the app.config file) I can use the settings object to access the properties.
Any ideas what's going on here?
Last edited: