[Mono-list] AOT viable option for deployment
robertj at gmx.net
Tue Oct 25 15:38:53 EDT 2011
On 25.10.2011 18:18, Chris Derrick wrote:
> How would one use mkbundle if they were working with a service? I've already
> written a program with monodevelop that generates an executable which runs
> correctly via "mono-service2 Program.exe".
> I attempted "mkbundle --static Program.exe -o program" and then tried
> running with "./program", but the only result was this warning: "WARNING **:
> Error parsing<bundled>: Error on line 34 char 2: Document must begin with
> an element (e.g.<book>)"
> I also tried running the service "mono-service2 imagemanager --debug". Not
> only was there no output, but it didn't even generate a lock file.
You must bundle mono-service*.exe rather than your own service assembly.
Your service assembly must be distributed as is, i.e. you can't
bundle it because mono-service cannot load assemblies from bundles.
More information about the Mono-list