[Mono-bugs] [Bug 79208][Wis] Changed - Mono.GetOptions Usage statement should show filename

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Aug 29 18:21:28 EDT 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 foxxyzoe at gmail.com.

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

--- shadow/79208	2006-08-29 18:18:35.000000000 -0400
+++ shadow/79208.tmp.4577	2006-08-29 18:21:28.000000000 -0400
@@ -69,6 +69,24 @@
 
 
 ------- Additional Comments From foxxyzoe at gmail.com  2006-08-29 18:18 -------
 Created an attachment (id=17552)
 Improves default AppExeName behavior.
 
+
+------- Additional Comments From foxxyzoe at gmail.com  2006-08-29 18:21 -------
+The second patch can be applied after the first patch.  This changes
+the code from:
+
+Assembly entry = optionsType.Assembly;
+if (entry == this.GetType().Assembly)   {
+  entry = Assembly.GetEntryAssembly();
+}
+
+appExeName = entry.GetName().Name;
+
+to a simple:
+
+private string appExeName = AppDomain.CurrentDomain.FriendlyName;
+
+This also has the effect of ensuring that the file extension is
+retained in the default.


More information about the mono-bugs mailing list