You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered:
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!
I have some strange issues like
![image](https://private-user-images.githubusercontent.com/7231968/336082655-3dd30719-9ac9-45d5-9a03-529d3e678d56.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMDE3OTMsIm5iZiI6MTcyNDEwMTQ5MywicGF0aCI6Ii83MjMxOTY4LzMzNjA4MjY1NS0zZGQzMDcxOS05YWM5LTQ1ZDUtOWEwMy01MjlkM2U2NzhkNTYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgxOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MTlUMjEwNDUzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OTg1MmVhNDJlNjVmOTRhMDgwYWJhYzc3M2M5YzgyZjA3N2NkNjdjNmIyZmJiMjZlZWU5OGQ3MWMyZDBhMzUzOSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.0jpCtevrectcQ48VqaWb3U7qGnlwO6twCGPOhVAOLQg)
[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.
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
The text was updated successfully, but these errors were encountered: