Adding WPF Text Writer Trace Listener in an Outlook Add In using wpf window/control
Posted
by Deepak N
on Stack Overflow
See other posts from Stack Overflow
or by Deepak N
Published on 2010-05-09T10:23:55Z
Indexed on
2010/05/09
10:28 UTC
Read the original article
Hit count: 500
I'm working on a outlook 2003 AddIn using VSTO SE.We have few customized windows developed in WPF. It looks there are few client machines have problem with WPF rendering due to which there could be an exception due to addin is getting disabled.
I added a outlook.exe.config and added trace listeners for wpf Trace sources. I set it up according this link. The console trace listener is working fine for me. But I'm not able get the TextWriterTraceListener working with config
<add name="textListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="Trace.log" />
I tried giving absolute path for trace log file as "C:\Trace.log".The TextWriterTraceListener worked for a dummy wpf app with the same config. Am I missing anything here.
© Stack Overflow or respective owner