how does one turn on Tracing?

Topics: CAB & Smart Client Software Factory
Sep 27, 2006 at 10:32 AM
originally posted by: MiniMe

I remember seeing an example of how to turn on tracing in CAB some time ago, but I can't find it anymore.
Can anyone point me to an example of enabling tracing of CAB internal events to OutputDebugString?
Oct 3, 2006 at 1:20 PM
originally posted by: hbpost

Add a block like the following to the app.config file, where the source name is the name of the DLL you wish to observe.

<system.diagnostics>

<switches>
<add name="ModuleSwitch" value="all" />
</switches>

<sources>
<source name="Microsoft.Practices.CompositeUI.Services.ModuleLoaderService" switchName ="ModuleSwitch"/>
</sources>

</system.diagnostics>