Logging to Sentry from Asp.Net Core

Does anyone log from core? I tried to use “NLog.Extensions.Logging” and then “Microsoft.NETCore.Portable.Compatibility”: “1.0.*” to use “net45”, but I am getting error:

NLog.NLogConfigurationException: Error when setting property ‘Dsn’ on Sentry Target[Sentry] —> System.IO.FileLoadException: Could not load file or assembly ‘System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’. The located assembly’s manifest definition does not match the assembly reference.