views:

11

answers:

0

I have a C# service that needs to run on Windows and Mac. I created a separate project for the mac accessing the common code to handle any differences, and it sets a define for the code to use. I then copy the Visual Studio compiled .exe to the mac machine. The service runs OK, except that when I kill the process the iMac CPU goes to 200%. I then have to force quit the mono process in Activity Monitor to stop the looping. The service's main routine exits cleanly according to my traces - including the worker thread that I create.

Visual Studio 2008 on Windows XP. Mono downloaded was MonoFramework-2.6.4_3.macos10.novell.x86.dmg.
Mac is OS X 10.5.

Anyone know of any service looping on exit problems with mono-service2?

I would prefer to leave the sources on Windows, and just transfer the .exe, or can mono only handle .exe's that it creates?

Thanks for any advice!