I'm not sure that's totally correct ... it doesn't get my service running
anyhow.  This is how I do it:

#!/bin/bash
export MONO_OPTIONS=--runtime=v4.0.30319
export LD_LIBRARY_PATH=.:/usr/local/mono/2.10.1/lib/:$LD_LIBRARY_PATH
/usr/local/mono/2.10.1/bin/mono-service2 -d:/path/to/service Service.exe

-Abe

On Sat, Apr 16, 2011 at 9:52 AM, Robert Jordan <[email protected]> wrote:

> On 16.04.2011 13:52, Volodia wrote:
> > I'm developing a service application which references .NET Framework 4.0.
> Can
> > I run it using mono-service or mono-service2? Does mono-service2 execute
> > only .NET 2.0 apps?
>
> Mono-service is actually mono-service4 under all Mono versions >= 2.8.
>
> Robert
>
> _______________________________________________
> Mono-list maillist  -  [email protected]
> http://lists.ximian.com/mailman/listinfo/mono-list
>
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to