Bugzilla – Bug 319376
[PATCH] cygwin: mono_set_rootdir issue
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by robertj@gmx.net 2005-10-23 20:08:03 MST ---- Under Cygwin, the mono root dir is computed from the current executable file name (see os/win32/util.c: mono_set_rootdir ()). This doesn't work, if the executable is not in Mono's bin dir, as it happens to libmono embedders. The patch enables embedders to call mono_assembly_setrootdir () before creating the first app domain. W/out the patch, mono_assembly_setrootdir's work will be overwritten by mono_set_rootdir (). ---- Additional Comments From robertj@gmx.net 2005-10-23 20:08:55 MST ---- Created an attachment (id=168718) rootdir.diff ---- Additional Comments From miguel@ximian.com 2005-11-01 17:16:48 MST ---- An alternative patch has been checked in, it should do what you want now (and also makes Mono relocatable on Linux/Solaris) Imported an attachment (id=168718) Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>cygwin</cf_op_sys_details> Unknown operating system unknown. Setting to default OS "Other".