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 [EMAIL PROTECTED]

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 [EMAIL PROTECTED]  2006-08-29 18:18 -------
 Created an attachment (id=17552)
 Improves default AppExeName behavior.
 
+
+------- Additional Comments From [EMAIL PROTECTED]  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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to