I have a component that can be referenced in some projects (eg. Component.dll ). I publish it, of course, in release mode.
In another project (eg. Project.exe ), I refer to Component.dll .
If I build Project.exe in Debug mode, is there a way to find out in my Component.dll library?
To learn more: if I have a class and method named Test inside Component.dll . Can I do something like:
public void Test(){ if(Debug.IsInDebugMode) ... }
Keep in mind that Component.dll is built into release mode.
c # build-process
icesar
source share