serilog-extensions-logging icon indicating copy to clipboard operation
serilog-extensions-logging copied to clipboard

Consider publishing for net461 like Microsoft.Extensions.Logging does

Open Nefarion opened this issue 3 years ago • 3 comments

Microsoft.Extensions.Logging 5.* targets net461 as well.

I had to fork the repo and republish with net461, because with the current version i get a MissingMethodException on AddSerilog().

Greetings from Vienna!

Nefarion avatar Sep 23 '21 09:09 Nefarion

Thanks for the note. IIRC, 4.6.1 has some deployment issues for .NET Standard that don't occur in 4.6.2 - will need to go back over some history to figure out how we ended up at the current targets... :-) (and greetings from Brisbane!)

nblumhardt avatar Sep 23 '21 22:09 nblumhardt

I just found this comment (https://github.com/serilog/serilog-extensions-logging/pull/191#issuecomment-865435500), i had the same problem (thus i made this issue) and publishing for net461 fixed it.

Nefarion avatar Oct 01 '21 14:10 Nefarion

givven support for net461 expires next month, it is trivial to update to 462 of higher, i dont think this is worth the effort

SimonCropp avatar Mar 01 '22 23:03 SimonCropp

According to

These must match the Dependencies tab in https://www.nuget.org/packages/microsoft.extensions.logging at the target version.

note from csproj for v7 I think this issue can be closed as not planned.

sungam3r avatar May 10 '23 05:05 sungam3r