You could use a streamwriter to redirect the output to the filesystem as
example:
using System;
using System.IO;
namespace ConsoleApplication4
{
class Class1
{
[STAThread]
static void Main(string[] args)
{
FileStream fileStream = new FileStream(@"c:\Test.txt",
FileMode.Create);
StreamWriter streamWriter = new StreamWriter(fileStream);
Console.SetOut(streamWriter);
Console.WriteLine("Hello file");
streamWriter.Close();
}
}
}
Gabriel Lozano-Morán
Software Engineer
Sogeti
"AMeador" <am******@tampabay.rr.com> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
I can see console output in the output window on VS, but how can you
see this text when running the app on a different machine or outside of
VS?
Thanks!
--- Andrew