I\'m developing a library for use in other apps and this library has lots of debugging and logging statements thanks to NLog.
Is it possible to exclude the reference to
The only way I know is to take the reference out completely and call the assembly via reflection. Then, you should only log if the assembly loads.