Nlog调试器目标消息不显示在DebugView中(但Debug.WriteLine do)

时间:2018-03-08 12:38:08

标签: .net debugging nlog debugview

我的程序是一个c#windows窗体应用程序。我在VS之外运行exe。 Nlog调试器目标消息不会在DebugView中显示,但直接Debug.WriteLine消息会显示。 当从VS内部运行应用程序时,两者都显示在VS输出控制台上 任何的想法?谢谢。