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
When Serilog.Exceptions is configured only in appsettings.json (not in code) we get a runtime load error
Could not load file or assembly 'Serilog.Exceptions, Culture=neutral, PublicKeyToken=null'
As Serilog.Exceptions have a strong name, PublicKeyToken != null and CLR cannot find proper assembly to load.
Describe the bug
When Serilog.Exceptions is configured only in appsettings.json (not in code) we get a runtime load error
Could not load file or assembly 'Serilog.Exceptions, Culture=neutral, PublicKeyToken=null'
As Serilog.Exceptions have a strong name, PublicKeyToken != null and CLR cannot find proper assembly to load.
Steps to reproduce
"Serilog": {
"Using": [ "Serilog.Exceptions" ],
"Enrich": [
"WithExceptionDetails",
]
}
Expected behaviour
We expect the application to start when Serilog.Exceptions is configured only in appsettings.json.
The text was updated successfully, but these errors were encountered: