xamarin - how to build pkg for mac console app with mkbundle --static flag -


i have written console mac utility using xamarin studio.
created bundle using:

  • mkbundle myapp.exe *.dll -o myapp --deps
  • pkgbuild --analyze --root release name.plist
  • pkgbuild --root release --component-list name.plist --sign "john doe" --install_location /applications/myapp myapp.pkg

when installing myapp.pkg on machine , attempting run app, there runtime error "libmonoboehm-2.0.1.dylib' referenced myapp - image not found'.

that indicate machine did not have mono runtime installed. , correct, not have mono runtime installed.

i tried run mkbundle '--static' option. however, pkgbuild --analyze returns empty component list.

my question how build deployment pkg when using mkbundle --static flag? possible?

thanks in advance

this can not done. mono framework large , toolset not allow functionality. can not create package pkgbuild without dependency list.

i solved problem telling user download monolithic mono framework. not happy 500mb download app worked.


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -