Logging
Published 17 December 2020
To enable logging for SmartAssembly MSBuild task, add the following properties to your .csproj project file:
<PropertyGroup> <SmartAssemblyLogToConsole>true</SmartAssemblyLogToConsole> <SmartAssemblyLogLevel>Verbose</SmartAssemblyLogLevel> <!-- Available values: Verbose, Warning, Error, None --> <SmartAssemblyLogFile>C:\custom\smartassembly.log</SmartAssemblyLogFile> <!-- Optional - will create additional log file in the specified location --> </PropertyGroup>
SmartAssembly will display detailed log in the MSBuild build output which may be helpful when investigating issues on remote environments (e.g. on a build server).