Problem reading user settings from config file
Posted on 2007-03-21
I have written a C# dll. I set some user settings in the project properties -> Settings tab.
There is a connection string setting that the dll is supposed to read out of the mydll.dll.config file at run time. However no matter what I try and do it seems that the dll does not read the connection string out of the file. I can change the connection string in the file manually, remove it or delete the .config file all together and it does not affect the dll in any way. The only way the connection string setting can be changed is to open the project and change it in the settings tab.
Can anyone tell me what I am doing wrong?