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
There is no reason for removing a reference in case you are sure that no code will be in use from that DLL. In that case you can simply remove DLL.