Give your DLL a dedicated config file

“You can run a particular class library inside an AppDomain and give it a dedicated config file.  NUnit uses this technique to allow test assemblies to be configurable by naming your config file FooTestAssembly.dll.config. “

Interesting trick allow every assembly run in its own memory space and own its own configuration.

Read how to do that here


Leave a Reply