Answer by Yogev Smila for Running a Windows Service in Console mode?
Also.. instead of using -console arg, you can identify its console by using Environment.UserInteractive, which will be false when running as service, but true when running the EXE directly.
View ArticleAnswer by TheDaveJay for Running a Windows Service in Console mode?
You can also have a look at this: http://www.thedavejay.com/2012/04/self-installing-c-windows-service-safe.htmlIt allows you to debug as a console application, and install the same app as a windows...
View ArticleAnswer by Keith Barrows for Running a Windows Service in Console mode?
And I found my answer! My project properties were set to Windows App instead of Console App. DOH! (Project Properties > Application Tab > Output type:)
View ArticleRunning a Windows Service in Console mode?
I found some sample code posted athttps://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/4d45e9ea5471cba4/4519371a77ed4a74?hl=en&pli=1for self installing a...
View Article
More Pages to Explore .....