I have a help library inside which I want to perform another action if the assembly that references it is in DEBUG / RELEASE mode.
Is it possible to include the condition that the calling assembly is in DEBUG / RELEASE mode?
Is there a way to do this without resorting to something like:
bool debug = false;
#if DEBUG
debug = true;
#endif
referencedlib.someclass.debug = debug;
The assembly reference will always be the starting point of the application (i.e. web application.
source
share