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

# Line 19 | Line 19 | namespace RomCheater.Logging
19              //Logging.Properties.Settings.Default;
20              try { AppName = Assembly.GetEntryAssembly().GetName().Name; }
21              catch (Exception) { try { AppName = Assembly.GetCallingAssembly().GetName().Name; }
22 <            catch (Exception) { try { AppName = Assembly.GetCallingAssembly().GetName().Name; }
22 >            catch (Exception) { try { AppName = Assembly.GetExecutingAssembly().GetName().Name; }
23              catch (Exception) { AppName = DEFAULT_APP_NAME; } } }
24          }
25          #region Application Constants

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines