I want to put all libraries (dll) used by my application to a subdirectory (let’ say named “lib”). How to instruct assembly loader to look for referenced assemblies in that particular directory (which is a subdirectory of a directory, where main assembly exists)?
I assume it should be done by some settings in app.config, right?
probing paths in your app.config. To borrow the example from MSDN: