Yep you're correct.  I think I must've tried it in the past, got things
working with mono-service2, and never looked back at mono-service.  The key
for me was setting the runtime version to get my 4.0 services running.

Sorry for the misinformation.

-Abe

On Sat, Apr 16, 2011 at 1:24 PM, Robert Jordan <[email protected]> wrote:

> On 16.04.2011 19:07, Abe Gillespie wrote:
> > I'm not sure that's totally correct ... it doesn't get my service running
> > anyhow.  This is how I do it:
>
> Please post the output of
>
> grep exec `type -p mono-service` | head -n 1
>
> Robert
>
> >
> > #!/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
>
>
> _______________________________________________
> 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