Hello, I've been poking around the documentation a bit and was wondering if its possible to create a logger with a complete path to the config file to use, rather than use the usual web.config or other well known locations. My scenario is I have a logging HttpModule used by many asp.net applications, and I always want to pull the config from a central location on the machine rather than affect the logged application's web.config at all. Thanks.
It's not recommended to place NLog.dll in the GAC because components in GAC have no place to put the configuration file, so the option of NLog.dll.nlog is not available. That's why.
There also some issues which I find personally annoying. Like:
Compile a.dll (version 220.127.116.11) and b.exe into a directory. b.exe references a.dll
gacutil /i a.dll
Recompile a.dll after some change without changing version number
Run b.exe - guess what version it uses? It is the version from GAC, but the intuition says it should use the one from the directory, as it is "closer" to the exe.