<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi<div><br></div><div>I have a service that I have running fine on my ubuntu 10.04 desktop, which I am creating a package for to run on ubuntu 10.04 servers.</div><div><br></div><div>I have set a dependency for the package of mono-2.0-service, which installs mono-runtime and some others based on its dependencies. However when I try and run the service with the following command:<br><br>sudo mono-service2 -l:/var/run/example-lock --debug /usr/lib/example/Example.exe<br><br>I get the following error:<br><br><div>Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'mono-service, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies. The system cannot find the file specified.</div><div>File name: 'mono-service, Version=2.0.0.0, Culture=neutral,
 PublicKeyToken=0738eb9f132ed756'</div><div>  at (wrapper xdomain-invoke) System.AppDomain:CreateInstanceAndUnwrap (string,string,bool,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[],System.Security.Policy.Evidence)</div><div>  at (wrapper remoting-invoke-with-check) System.AppDomain:CreateInstanceAndUnwrap (string,string,bool,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[],System.Security.Policy.Evidence)</div><div>  at MonoServiceRunner.Main (System.String[] args) [0x00000] </div></div><div><br>Are there any other dependencies I need besides mono-2.0-service? I have been unable to find any tutorials on setting up mono on ubuntu server.<br><br>Regards Gavin.</div></td></tr></table><br>