Thanks, I was able to get it to work after copying the System and ServiceProcess.dll files
On Fri, Apr 29, 2016 at 12:10 AM, Sharmad Naik <sharmad.n...@gmail.com> wrote: > 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 <jonpr...@vt.edu> wrote: > >> On Apr 27, 2016, at 2:53 PM, Sharmad Naik <sharmad.n...@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 >> >> >
_______________________________________________ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list