Majercak Ivan [mailto:[EMAIL PROTECTED]] wrote:
> I have a prob with app.config file - I have created a class > library as a proxy to webservice and I want to keep my URL > and couple of others dynamic properties in app.config file > (let's say it's called myclass.dll.config), but when I create > a test client application with its own configuration file > (e.g. myapp.exe.config), I can only use properties stored in > there, not in a myclass.dll.config. > > Can anyone help me with that? Yup, config files are at loaded at the executable assebmly level only. Library assemblies that have configuration information need to have a config section placed into each application config file. Another option is, assuming your data is not application specific, when you install your library assembly you add your config section into machine.config. That way it will be accessible by all applications running on the machine. HTH, Drew .NET You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.