I create and distribute the assembly to other developers. I am distributing the Release version of my assembly (and not debugging). In one of my build classes, I have code to run only in debug mode, using
#if DEBUG
Console.WriteLine("Debug");
#else
Console.WriteLine("Release");
#endif
If other developers reference my build from their project and run their project in debug mode, will my debug only conditionally run or not?
G-man source
share