Micki-Weaver
asked on
Check if the program is in developing mode
anyone know how to
Check if the program is in developing mode
Check if the program is in developing mode
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
not even honorable mention?
ASKER
bool isDebug = false;
#IF DEBUG
isDebug = true;
#ENDIF gives errors
does not work?? errors
and strickdd - I kit the give points just at you add your comment I would have:) thanks
#IF DEBUG
isDebug = true;
#ENDIF gives errors
does not work?? errors
and strickdd - I kit the give points just at you add your comment I would have:) thanks
ASKER
kit=hit
ASKER
I used
bool isDebug = false;
#if _DEBUG
isDebug = true;
#endif
what does
<add key="IsProduction" value="true"/>
do?
bool isDebug = false;
#if _DEBUG
isDebug = true;
#endif
what does
<add key="IsProduction" value="true"/>
do?
<add key="IsProduction" value="true"/>
Then check this to determine if you are in production or development