Turn off Criterion Tracing

Sep 6, 2010 at 2:36 AM

I am writing a console application which utilizes ZipFile, and eveyr time I call ZipFie.SelectEntries, I get Trace messages in my console output from DotNetZip.

internal abstract partial class SelectionCriterion
        internal abstract bool Evaluate(string filename);

        protected void CriterionTrace(string format, params object[] args)
            System.Console.WriteLine("  " + format, args);

This appears to be the offending code... all the criterions write tracing output, even in the RELEASE build of DotNetZip.

How can I turn this off?


Sep 9, 2010 at 10:35 AM

Hmm, seems to  be a problem in the build. I'd expect that SelectorTrace would be undefined (OFF) for a release build. 


Sep 9, 2010 at 10:37 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.