J
Jiho Han
I have a solution built with conditional #if(DEBUG) ... #endif, so that
statements like Context.Trace.Write("this is a trace statement."); are only
compiled into a debug build and not into a release one. So that works like
a charm. I built a debug and a release solution. In my dev environment,
things behave the way I want them to, debug build writes out to the trace so
I can view them via Trace.axd and the release doesn't.
The issue arises when I deploy the debug build to the testing environment.
The debug build no longer writes output to the trace. Tracing itself is
working because I see other Context.Trace.Write statements that are not
enclosed by #if(DEBUG)... #endif.
The ones that were enclosed, ones I'm interested in are not. I figure there
must be some kind of setting in web.config or machine.config somewhere, but
I can't seem to find it.
Can someone help?
Thanks.
statements like Context.Trace.Write("this is a trace statement."); are only
compiled into a debug build and not into a release one. So that works like
a charm. I built a debug and a release solution. In my dev environment,
things behave the way I want them to, debug build writes out to the trace so
I can view them via Trace.axd and the release doesn't.
The issue arises when I deploy the debug build to the testing environment.
The debug build no longer writes output to the trace. Tracing itself is
working because I see other Context.Trace.Write statements that are not
enclosed by #if(DEBUG)... #endif.
The ones that were enclosed, ones I'm interested in are not. I figure there
must be some kind of setting in web.config or machine.config somewhere, but
I can't seem to find it.
Can someone help?
Thanks.