/[RomCheater]/trunk/RomCheater.Logging/LoggingConstants.cs
ViewVC logotype

Diff of /trunk/RomCheater.Logging/LoggingConstants.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- 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 @@
             //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

 

  ViewVC Help
Powered by ViewVC 1.1.22