serilog-contrib / serilog-sinks-splunk

A Serilog sink that writes to Splunk
https://splunk.com
Apache License 2.0
46 stars 47 forks source link

Bumped to 4.0.2 - Could not load file or assembly 'Serilog.Sinks.Splunk' or one of its dependencies. Strong name signature could not be verified. #188

Closed VictorioBerra closed 5 months ago

VictorioBerra commented 5 months ago
Could not load file or assembly 'Serilog.Sinks.Splunk' or one of its dependencies. Strong name signature could not be verified.  The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileLoadException: Could not load file or assembly 'Serilog.Sinks.Splunk' or one of its dependencies. Strong name signature could not be verified.  The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)

image

EEParker commented 5 months ago

Is this the root cause since all the builds are on Ubuntu?

https://github.com/serilog-contrib/serilog-sinks-splunk/blob/dev/src/Serilog.Sinks.Splunk/Serilog.Sinks.Splunk.csproj#L13

EEParker commented 5 months ago

@VictorioBerra I have verified this merge and build works on my servers, can you verify as well? After that I would like to make a 4.0.3 release. https://www.nuget.org/packages/Serilog.Sinks.Splunk/4.0.3-dev-00034

VictorioBerra commented 5 months ago

Confirmed fixed for me via 4.0.3-dev-00034 @EEParker