SmartAssembly 6.5 and later contain logging. The log file can be very useful to us if you encounter problems.
By default, creation of a log file is disabled.
When enabled, the log file is saved in %LocalAppData%\Red Gate\SmartAssembly 6\SmartAssembly.log
To enable logging:
<appender>
and <root>
elements, which are children of the <log4net>
element.A log file is created the next time SmartAssembly is used to process an assembly.
<file value="${LOCALAPPDATA}\Red Gate\SmartAssembly 6\SmartAssembly.log" />
<level value="TRACE"/>
The following levels are valid:
ERROR | Exceptions thrown by SmartAssembly |
WARN | Exceptions and steps taken by SmartAssembly that you may want to be aware of. For example, details of when a type had to be renamed during merging, because the name was already used in the assembly you were merging into. |
INFO | As WARN, and other processing information shown in the user interface. Also lists the assemblies being embedded and merged. |
DEBUG | As INFO, and other information such as where assemblies were resolved, feature usage IDs and XAML references that had to be updated. |
TRACE | Includes all of the above, and details of why classes were excluded from obfuscation or pruning. Note that, when SmartAssembly is used with a large assembly, a log created at this level could be very big. |