I’m building a plugin assembly and I would like to provide an accompanying config file.
Deployed assembly is probably copied somewhere, don’t know where, and would like to know where does the ConfigurationManager looks for a .config file. I do not wish to load .config from an explicit location, just put it where it is being looked for.
It is pretty simple: it looks in the directory where the .exe is stored for an appname.exe.config file. That makes it unsuitable for your intended use.