Closed Havunen closed 8 months ago
Think this sort of change was already rejected in https://github.com/serilog/serilog-extensions-logging/pull/224
Hi! Thanks for raising these. From 7.0. onwards, n all the packages with versions matching a Microsoft. package, the version policy is to match major and minor version numbers. If you need to target an earlier Microsoft. package, picking the matching earlier version of the Serilog package (or next lowest version, for 6.0. and before) will do what you need.
Closing this as duplicate, but thanks for taking the time to send a PR 👍
@nblumhardt Ok that makes sense, but why is the latest version then targeting old .NET frameworks? Shouldn't it target only the matching version not to confuse users?
Maybe this behavior could be documented in the main readme too?
Thanks for your reply. The targeted frameworks match the ones used by Microsoft.Extensions.Logging at the same version (we're using exactly the same dependency and targeting scheme for this package as they do - which is the reason for the current policy). Hope this helps; will check out the README when I have a chance 👍
Fixes https://github.com/serilog/serilog-extensions-logging/issues/229