[Mono-bugs] [Bug 80305][Nor] Changed - Bundled executable looks for machine.config in wrong place

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Dec 19 08:53:59 EST 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by tml at novell.com.

http://bugzilla.ximian.com/show_bug.cgi?id=80305

--- shadow/80305	2006-12-19 08:49:24.000000000 -0500
+++ shadow/80305.tmp.4726	2006-12-19 08:53:59.000000000 -0500
@@ -51,6 +51,20 @@
 
 
 ------- Additional Comments From tml at novell.com  2006-12-19 08:49 -------
 Created an attachment (id=18340)
 Suggested patch
 
+
+------- Additional Comments From tml at novell.com  2006-12-19 08:53 -------
+The above patch adds a public function
+mono_config_string_for_assembly_file() that returns the bundled
+contents of an app.config file, if it was present when mkbundle was
+run. It also makes the mono_assembly_open_from_bundle() function
+public. The code in domain.c is modified to look for bundled config
+files and a bundled exe file first when figuring out what runtime
+version is required.
+
+For my needs this is enough for now, although a further improvement
+would be to make it possible to also bundle the machine.config file
+and thus not have to ship it together with the standalone
+statically-linked bundled  mono application.


More information about the mono-bugs mailing list