[Mono-dev] run Windows Service with Mono on Windows?
Alexey Chernobaev
axch at mail.ru
Thu Jun 11 05:30:16 EDT 2009
Thank you for answer, Eric!
Probably not as I understand. I've tried and got this:
>mono-service ControlService.exe
Unhandled Exception: System.TypeInitializationException: An exception
was thrown
by the type initializer for Mono.Unix.Native.Syscall --->
System.EntryPointNotF
oundException: Mono_Posix_Syscall_L_ctermid
at (wrapper managed-to-native) Mono.Unix.Native.Syscall:_L_ctermid ()
at Mono.Unix.Native.Syscall..cctor () [0x00000]
--- End of inner exception stack trace ---
at MonoServiceRunner.Main (System.String[] args) [0x00000]
Petit Eric wrote:
> 2009/6/10 AlexCh <axch at mail.ru>:
>
>> Hi, all!
>>
>> Is it possible to run .Net-based Windows Service (service class derived from
>> System.ServiceProcess.ServiceBase) with Mono on Windows, e.g. if Framework
>> is not installed?
>>
> I think yes, but the best way is to try, so simply "clone" the
> existing Mono batch who set environment, or run a mono shell, then go
> in the direcrtory where you have MyService.exe and do a "mono-service
> myservice.exe" :-)
>
>> --
>> View this message in context: http://www.nabble.com/run-Windows-Service-with-Mono-on-Windows--tp23964551p23964551.html
>> Sent from the Mono - Dev mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
More information about the Mono-devel-list
mailing list