serilog / serilog-extensions-logging

Serilog provider for Microsoft.Extensions.Logging
Apache License 2.0
307 stars 97 forks source link

Bump Serilog version dependency to support Unity and .netstandard 2.0+ #188

Closed bdovaz closed 3 years ago

bdovaz commented 3 years ago

I am trying to use this library in the Unity game engine but it only supports .NET Standard 2.0 onwards and the latest version of Serilog.Extensions.Logging still depends on Serilog 2.8.0 which in turn depends on System.Collections.NonGeneric and this in turn only targets .NET Standard 1.3.

https://docs.unity3d.com/Manual/dotnetProfileSupport.html

Simply upgrading from 2.8.0 to 2.9.0 solves the problem.

nblumhardt commented 3 years ago

That's great - thanks. You should also be able to get your use case working by adding an explicit dependency on Serilog to your CSPROJ.