更新时间:2022-11-28 17:11:14
问题中所述的问题仍然存在.
The problem stated in the question still exists.
当前,我正在使用以下类在输出窗口中查看结果.
Currently I am using the following class for seeing the result in output window.
context.Log = new OutputWindowWriter();
class OutputWindowWriter : System.IO.TextWriter
{
public override void Write(char[] buffer, int index, int count)
{
System.Diagnostics.Debug.Write(new String(buffer, index, count));
}
public override void Write(string value)
{
System.Diagnostics.Debug.Write(value);
}
public override System.Text.Encoding Encoding
{
get { return System.Text.Encoding.Default; }
}
}