[Mono-list] (no subject)

Sharmad Naik sharmad.naik at gmail.com
Thu Apr 28 18:40:08 UTC 2016


Thanks Jonathan,

Your suggestion helped. I have now been able to proceed to the next error
which is as follows

Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly or one of
its depencies.
FileName: 'System.ServiceProcess, Version=4.0.0.0, Culture=neutral,
PublicKeyNotes=....

Regards,
-Sharmad

On Thu, Apr 28, 2016 at 7:57 PM, Jonathan Pryor <jonpryor at vt.edu> wrote:

> On Apr 27, 2016, at 2:53 PM, Sharmad Naik <sharmad.naik at gmail.com> wrote:
> > I have now another system where I have copied the service application
> build and running earlier and some of the binaries like mono-service, mono,
> libMonoPosixHelper.so, mono-service.exe, Mono.Posix.dll and mscorlib.dll
> and set the MONO_PATH variable to the location of the folder
> >
> > On executing the service application using the following command
> >                              mono-service --debug Service1App.exe
> > I get an error
> > UnhandledException:
> > System.DllNotFoundException: msvcrt
>
> I think you need to copy over $prefix/etc/mono/config as well, because
> you’re apparently missing the DLL mapping from msvcrt to libc:
>
>           <dllmap dll="i:msvcrt" target="libc.so" os="!windows"/>
>
>  - Jon
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20160429/d3613141/attachment.html>


More information about the Mono-list mailing list