ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater.Logging/LoggingConstants.cs
(Generate patch)

Comparing trunk/RomCheater.Logging/LoggingConstants.cs (file contents):
Revision 875 by william, Wed Sep 17 00:27:13 2014 UTC vs.
Revision 876 by william, Wed Sep 17 00:29:07 2014 UTC

--- trunk/RomCheater.Logging/LoggingConstants.cs	2014/09/17 00:27:13	875
+++ trunk/RomCheater.Logging/LoggingConstants.cs	2014/09/17 00:29:07	876
@@ -19,7 +19,7 @@ namespace RomCheater.Logging
             //Logging.Properties.Settings.Default;
             try { AppName = Assembly.GetEntryAssembly().GetName().Name; }
             catch (Exception) { try { AppName = Assembly.GetCallingAssembly().GetName().Name; } 
-            catch (Exception) { try { AppName = Assembly.GetCallingAssembly().GetName().Name; } 
+            catch (Exception) { try { AppName = Assembly.GetExecutingAssembly().GetName().Name; } 
             catch (Exception) { AppName = DEFAULT_APP_NAME; } } }
         }
         #region Application Constants