[Mono-list] Running a C# .NET Windows service on Linux using Mono.

Richard Staff rstaff at sprynet.com
Sun Oct 22 21:12:14 EDT 2006

Is there a way to run a C# .NET Windows service on Linux using Mono?
I imported the project to Mono from Visual Studio successfully.
Heck, it even compiles without any errors.
On Windows, a C# .NET is installed locally using "Installutil.exe",
and using the Services applet (part of the Administrative Tools folder 
found in Windows' Control Panel) to start the service.

Console output of tests:

ricky at 1[Debug]$ mono Installutil.exe CarWinService.exe
cannot open assembly Installutil.exe
ricky at 1[Debug]$ mono CarWinService.exe
ricky at 1[Debug]$  

Second mono command did not really work.  Remote client could NOT find a 
Test output:

ricky at 2[Debug]$ mono CarProviderClient.exe
Client started!  Hit enter to end

Unhandled Exception: System.Net.WebException: Error: ConnectFailure

More information about the Mono-list mailing list