Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Using ConsoleTraceListener with a Windows Service

$
0
0

I have a 2010 Visual Studio Windows Service Project.  I installed the Windows service on the server.  Everything works great.  What I want to do is to view the trace messages that the windows service outputs to, to a console window.  Can I add the consoletracelistener to a Windows service project? Do I need to create a console project?  Can I add a console window inside the service project, and then when I want to open the window, i just go to the location where the service files are installed and click the console.exe?   Or is this just not possible?



Viewing all articles
Browse latest Browse all 8156


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>