Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kindly upgrade the Seq Sink to use version the latest version 4.0.0(1st June 24) of Serilog instead of 3.1.1 #226

Closed
albgen opened this issue Jun 3, 2024 · 3 comments

Comments

@albgen
Copy link

albgen commented Jun 3, 2024

I have some strange issues like
[Could not load file or assembly 'Serilog, Version=2.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10' or one of its dependencies]..
This is happening after i upgrade Serilog to v 4.0.0. The problem is that the Sinks.Seq is requesting this version(AssemblyVersion 2.0.0.0) and causing that error because Serilog 4.0.0 has now an assembly version of 4.0.0.0.
image

ps: not to mention that Serilog Assembly Versionin is very strange. They passed from Assembly Versionin 2.0.0.0 to 4.0.0.0 but they was not touching the file version until version 4.0.0.0

thank you

@nblumhardt
Copy link
Member

Hi! This is on its way today in #224.

There's a small amount of background discussion on the assembly version unpinnning in serilog/serilog#1996 - unfortunately, although pinning prevents some issues, there are a large class of issues it causes, so we're trying to go with the least-surprising approach from now on.

The app crash here though is most likely due to a build problem; your build process (MSBuild etc.) should be generating binding redirects - the Seq sink update will fix this one case, but it's likely unless your build generates the correct binding redirects you'll hit more issues via other libraries. HTH!

@nblumhardt
Copy link
Member

Version 8.0.0 is on NuGet now 👍

@albgen
Copy link
Author

albgen commented Jun 4, 2024

Oh i see.
Thanks for updating Sinks.Seq! Have nice day

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants