So far it seems the following can fix the issue:
<ItemGroup Condition="'$(Configuration)' == 'Release'">
<TrimmerRootAssembly Include="Sukiru.Domain" RootMode="All" />
<TrimmerRootAssembly Include="AWSSDK.S3" RootMode="All" />
<TrimmerRootAssembly Include="zxing" RootMode="All" />
</ItemGroup>